[vlc-devel] [PATCH] avcodec: allow hardware decoding with multithread for FFmpeg

Steve Lhomme robux4 at gmail.com
Wed Jul 27 20:30:53 CEST 2016

On Wed, Jul 27, 2016 at 5:51 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le keskiviikkona 27. heinäkuuta 2016, 16.43.26 EEST Steve Lhomme a écrit :
>> The context is protected by a mutex.
> What is protected by a mutex? The VLC state is not the problem here.
> FFmpeg developers say hardware acceleration with threaded decoding is not
> supported, especially not on Windows. In fact, I reckon Windows is the primary
> motivation for not supporting it. Depending on FFmpeg version, it either fails
> or prints a stern warning.

" ffmpeg.c just produces corrupt decoding when you try to use that, so
use at your own peril.
Not to mention that it doesn't offer any performance benefits."

OK so how do we disable multithread decoding ONLY when doing hardware
acceleration ?

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list