Kodi Community Forum
Discontinuity bit handling - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Discontinuity bit handling (/showthread.php?tid=129819)



Discontinuity bit handling - adimolkho - 2012-04-24

Hi
I am trying to add a feature to XBMC that will handle transport stream (ts) discontinuity bit. I identify the bit in FFMpeg code and signal the info to to CDVDDemuxFFmpeg::Read successfully.
I am looking for help changing the XBMC code to flush the current buffer and start decode the new video from that point.
I tried to call flush() and then call av_find_stream_info() again but the program crash
Any ideas?
Thanks
Adi