----- Original Message ----- From: "Carl Eugen Hoyos" <[email protected]>
To: <[email protected]>
Sent: Wednesday, January 01, 2014 10:53 AM
Subject: Re: [Libav-user]any way to interrupt avcodec_decode_video2 ?


Don Moir <donmoir@...> writes:

A simple seek to zero is quick, but if I have to wait on avcodec_decode_video2 to return, then its slower and can be quite slow.

Yes, this is exactly what CODEC_FLAG2_SHOW_ALL is for.

Carl Eugen

CODEC_FLAG2_SHOW_ALL ///< Show all frames before the first keyframe

So show garbage? What does that have to do with how fast avcodec_decode_video2 
returns?

It's not about getting a finished frame.

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

Reply via email to