[FFmpeg-devel] Allow interrupt callback for AVCodecContext

Don Moir donmoir at comcast.net
Mon Jan 6 10:08:36 CET 2014


Le septidi 17 nivôse, an CCXXII, Don Moir a écrit :
>> user would probably do something like this if interested:

>You think so, but obviously you do not know how much in cost compared to the
>actual process of decoding.

return interupt; is expensive ?

>Also, I forgot the other kind of cost: the human manpower. Adding the calls
>to the callback, checking that they are placed so as to leave the context in
>a consistent state without leaks, adding a testing infrastructure so that
>they stay that way, handling the merge conflicts, etc., is a tremendous
>amount of work.

This I know and no argument about that. Just looking for best solution.

>> Don't think that would help much. ( new process )

>But you did not test.

I don't have to. I should start a new process every time I need to seek?  Then I can just reopen everything and wait even more time 
on that.



More information about the ffmpeg-devel mailing list