Commit b0c7f058 authored by Laurent Aimar's avatar Laurent Aimar

Fixed dxva2 regression when using NV12.

parent ac0d2057
......@@ -384,7 +384,7 @@ static int Extract(vlc_va_t *external, picture_t *picture, AVFrame *ff)
};
size_t pitch[2] = {
lock.Pitch,
lock.Pitch / 2,
lock.Pitch,
};
CopyFromNv12(picture, plane, pitch,
va->surface_width, va->surface_height,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment