Skip to content
Snippets Groups Projects
Commit 2be2c760 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

dxva2: don't set the mask anymore

This is not necessary since 10f2ca94.
parent 80cc56d7
No related branches found
No related tags found
1 merge request!4238dxva2: don't set the mask anymore
Pipeline #383066 passed with stage
in 22 minutes and 56 seconds
......@@ -303,7 +303,6 @@ static int Open(vlc_va_t *va, AVCodecContext *ctx, enum AVPixelFormat hwfmt, con
final_fmt.i_chroma = VLC_CODEC_D3D9_OPAQUE_10B;
else
final_fmt.i_chroma = VLC_CODEC_D3D9_OPAQUE;
final_fmt.i_rmask = final_fmt.i_gmask = final_fmt.i_bmask = 0;
err = va_pool_SetupDecoder(va, sys->va_pool, ctx, &final_fmt, sys->hw.surface_count);
if (err != VLC_SUCCESS)
goto error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment