On 29 March 2015 at 03:15, Michael Niedermayer <[email protected]> wrote:

> you can try AVCodecContext->frame_number, if that doesnt work
> you need to keep track of if you already had received a frame
>
I've tried both, but it turns out that AVCodecContext->frame_number seems
to be thread-specific. That is, it starts with 0 for each thread rather
than the actual frame number.
One possible option is to disable threading support though...

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to