[Libav-user] Reseting decoder according to discontinuity bit is TS files

Adi Molkho Adi.Molkho at toganetworks.com
Sun Apr 15 15:04:29 CEST 2012


Hi

I want to reset my decoder every time I identify the discontinuity bit of
the adaptation header of a TS packet.

I identify this bit in the handle_packet function in mpegts.c file and the
call avcodec_flush_buffers for the video stream but the code crashes

Any ideas?

Thanks

Adi

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120415/01e86692/attachment.html>


More information about the Libav-user mailing list