FORUMS: list search recent posts

Reset stream when discontinuity bit is set

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Adi Molkho
Reset stream when discontinuity bit is set
on Apr 15, 2012 at 12:52:35 pm

Hi
I am intersted in reseting the decoder every time I identify a discontinuity bit set in the adaptation header (TS). The bit is identified in handle_packet function inside mpegts.c .
I added a call to avcodec_flush_buffers function one time for audio stream and one time for video stream but the code crashes.
Any ideas?
Thanks
Adi


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]