[vlc-commits] [Git][videolan/vlc][master] dxva2: don't set the mask anymore

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Sep 9 18:56:27 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
2be2c760 by Steve Lhomme at 2023-09-09T18:35:11+00:00
dxva2: don't set the mask anymore

This is not necessary since 10f2ca94d872477440ff54978d493aff904a41c5.

- - - - -


1 changed file:

- modules/codec/avcodec/dxva2.c


Changes:

=====================================
modules/codec/avcodec/dxva2.c
=====================================
@@ -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;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2be2c760895390bc651fc1ffa3e5345778c802fa

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2be2c760895390bc651fc1ffa3e5345778c802fa
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list