[FFmpeg-devel] [PATCH][RFC] avcodec: disallow hwaccel with frame threads

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Jan 19 21:13:16 CET 2016

On 22.10.2015 11:44, Hendrik Leppkes wrote:
> On Thu, Oct 22, 2015 at 11:27 AM, Wang Bin <wbsecg1 at gmail.com> wrote:
>> VLC is using frame threading with hwaccel
> Then they should fix their usage, its broken by design, as explained
> in detail my post earlier in this thread.

Care to provide a patch for them?

They now made VLC's configure error out when compiling with FFmpeg [1],
because they currently lack time [2] to fix this the way you suggest
and Libav doesn't return this error.

Thus I think it would be better to reduce this to a warning for the
time being and maybe add a FF_API_* changing it to an error after
the usual deprecation period.

Best regards,

1: https://git.videolan.org/?p=vlc.git;a=commitdiff;h=e57d32f664ff63ead57dca1fed7aedd59edac9fb
2: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803868#54

More information about the ffmpeg-devel mailing list