[FFmpeg-devel] [PATCH v2] avcodec: Add explicit capability flag for encoder flushing

Philip Langdale philipl at overt.org
Sat Apr 11 02:48:23 EEST 2020


On Fri, 10 Apr 2020 20:01:29 -0300
James Almer <jamrial at gmail.com> wrote:

> The assert needs to be under the following chunk, like it was in the
> first version, after we have already established that we're dealing
> with a flush enabled encoder to ensure that it's not also wrongly
> marked as supporting frame threading.
> Otherwise you'll be crashing the user if they call
> avcodec_flush_buffers() on an encoder that supports frame threading
> but never claimed to support flushing, when we were only supposed to
> print the warning and return.

*sigh*. Right you are. sending a new one.

--phil


More information about the ffmpeg-devel mailing list