----- Original Message ----- 
From: "Michael Niedermayer" <[EMAIL PROTECTED]>
To: "Libav* user questions and discussions" <[email protected]>
Sent: Tuesday, April 08, 2008 12:27 PM
Subject: Re: [libav-user] Flushing packets


> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>

Yes, that's exactly what I wanted to do.  Stop the process to do a flush.  I 
needed all data removed from the input buffers, the parser and the codecs. 
After much research and head banging, I've finally figured it out...   It 
takes 2 method calls, av_read_frame_flush followed by avcodec_flush_buffers. 
It would be nice if av_read_frame_flush was exported and not static.  If 
there is a better way to achieve this goal, it would be nice to know. 

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to