[Libav-user] any way to interrupt avcodec_decode_video2 ?
Hendrik Leppkes
h.leppkes at gmail.com
Tue Dec 31 08:09:47 CET 2013
On Mon, Dec 16, 2013 at 8:08 AM, Don Moir <donmoir at comcast.net> wrote:
> Would like to interrupt avcodec_decode_video2 at times like when starting a
> new seek. Decoding takes the most time of anything I do. Since app is
> timeline oriented, trying to keep seek time down to minimum and if
> avcodec_decode_video2 has been called, seems there is no way out until its
> finished and this decoding time can delay a new seek attempt.
>
No, you cannot interrupt it.
You'll have to wait until the current frame finishes decoding.
More information about the Libav-user
mailing list