Reset decoder when finding Discontinuity indicator set

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
adimolkho Offline
Junior Member
Posts: 3
Joined: Mar 2012
Reputation: 0
Post: #1
Hi
I would like to add the following feature to XBMC : Look in the TS header Discontinuity indicator which is located in the Adaptation Field, when set reset the decoder of XBMC and continue play the movie from that point.
For that I need to find the TS header parsing in the code and to locate the decoder reset API
Can someone help me with those two issues
Thanks
Adi

edit by CrystalP to remove Windows prefix in thread name
(This post was last modified: 2012-03-25 19:56 by CrystalP.)
find quote
CrystalP Offline
Team-XBMC Developer
Posts: 822
Joined: Apr 2010
Reputation: 18
Location: The Great North
Post: #2
ffmpeg handles demuxing/decoding for XBMC, that's where you should find TS parsing. I don't know the internals of ffmpeg and can't be more specific than that.
I don't know of a decoder reset API, but I suppose adding a field to the structures returned by ffmpeg and making DVDPlayer/DVDPlayerVideo handle it would do the trick.
Elupus would know much more than I.

Moving the thread to Development forum

Always read the XBMC online-manual, FAQ, Wiki and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2012-03-25 18:39 by CrystalP.)
find quote
adimolkho Offline
Junior Member
Posts: 3
Joined: Mar 2012
Reputation: 0
Post: #3
Thanks
find quote