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

James Almer jamrial at gmail.com
Wed Jul 27 20:41:03 EEST 2016


On 7/27/2016 1:51 PM, James Almer wrote:
> On 7/27/2016 1:43 PM, Stève Lhomme wrote:
>> Hello fellow FFmpegers,
>>
>> Is there still an issue with hardware decoding when combined with
>> multithread ? It seems to work fine on our Windows build. Although we
>> have a mutex in place in the D3D11 variant of the code that may help.
>> It mostly protects the video context...
>>
>> If necessary we can have the same trick for DXVA2 if there are still
>> known issues.
>>
>> Steve
>>
>>
>> ---------- Forwarded message ----------
>> From: Steve Lhomme <robux4 at videolabs.io>
>> Date: Wed, Jul 27, 2016 at 4:43 PM
>> Subject: [PATCH] avcodec: allow hardware decoding with multithread for FFmpeg
>> To: vlc-devel at videolan.org
>>
>>
>> The context is protected by a mutex.
>> ---
>>  modules/codec/avcodec/video.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
>> index 0c10f9e..bbf3ebb 100644
>> --- a/modules/codec/avcodec/video.c
>> +++ b/modules/codec/avcodec/video.c
> 
> I'm not sure what project this belongs to, but it's certainly not
> ffmpeg...

Nevermind, I assumed you were sending this patch here thinking it was for
this project. Didn't notice the "to" line in the patch or the fact this is
an fwd.

Sorry for the misunderstanding.


More information about the ffmpeg-devel mailing list