-
Reset stream when discontinuity bit is set
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
Sorry, there were no replies found.