![]() |
|
Reset decoder when finding Discontinuity indicator set - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Development (/forumdisplay.php?fid=93) +--- Thread: Reset decoder when finding Discontinuity indicator set (/showthread.php?tid=126522) |
Reset decoder when finding Discontinuity indicator set - adimolkho - 2012-03-25 17:29 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 RE: Reset decoder when finding Discontinuity indicator set - CrystalP - 2012-03-25 17:39 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 RE: Reset decoder when finding Discontinuity indicator set - adimolkho - 2012-03-26 14:33 Thanks |