[Libav-user] any way to interrupt avcodec_decode_video2 ?

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 1 16:53:14 CET 2014

Don Moir <donmoir at ...> 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

More information about the Libav-user mailing list