[vlc-devel] [PATCH 4/4] avcodec: pass the number of threads used by avcodec to the HW acceleration back-ends

Rémi Denis-Courmont remi at remlab.net
Tue Mar 4 21:19:07 CET 2014

Le mardi 4 mars 2014, 15:22:03 Felix Abecassis a écrit :
> The number of threads impacts the number of surfaces that should be
> allocated by the HW acceleration backend. If not enough surfaces are
> allocated, the VAAPI and DXVA modules returned the oldest surface
> currently in used. This technique can cause many visual glitches with
> some samples. The number of allocated surfaces now scales with the
> number of threads used by avcodec.

I would need to pass the "whole" AVContext (back again) anyway. So the changes 
for  passing the thread count are superseded.

Rémi Denis-Courmont

More information about the vlc-devel mailing list