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

Rémi Denis-Courmont remi at remlab.net
Wed Jul 27 18:55:39 CEST 2016


Le keskiviikkona 27. heinäkuuta 2016, 18.38.43 EEST Steve Lhomme a écrit :
> 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.
> 
> Working fine on all the UWP builds we've been doing for a while where
> this patch is already applied.

Code with race conditions tends to work fine, except when it does not. It also 
works mostly fine with VDPAU.

> Who's the authority at FFmpeg on this ?

Henrik Leppkes, I think.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list