[vlc-devel] [PATCH] DXVA2: remove frame multithreading hack

Jean-Baptiste Kempf jb at videolan.org
Tue Apr 7 11:59:32 CEST 2015


On 07 Apr, Steve Lhomme wrote :
> Turns out the Intel Graphics 4000 doesn't work with frame
> multithreading if thread_safe_callbacks is set. The decoded frame that
> are extracted from DXVA aren't always clean. Maybe passing slices or
> parts of previous frame references from different thread is not
> supported.
> 
> So we should set thread_safe_callbacks to false for WIN32. The
> performance impact when not using DXVA should be minimal. All buffer
> pool access will be done through a worker thread.
> 
> Or we can keep the detection if DXVA2 is likely to be used for this
> codec or not.

And you have no idea what HD 2000 and HD 3000 are...

- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list