[vlc-commits] [Git][videolan/vlc][master] dshow: don't set dummy RGB masks

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Mon Jun 6 17:04:55 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
d843c068 by Rémi Denis-Courmont at 2022-06-06T16:50:10+00:00
dshow: don't set dummy RGB masks

VLC's RGBA formats don't rely on masks.

- - - - -


1 changed file:

- modules/access/dshow/dshow.cpp


Changes:

=====================================
modules/access/dshow/dshow.cpp
=====================================
@@ -641,7 +641,6 @@ static void SetRGBMasks( vlc_fourcc_t i_fourcc, es_format_t *fmt )
             fmt->video.i_rmask = 0x000000ff;
             break;
         case VLC_CODEC_RGB32:
-        case VLC_CODEC_RGBA:
             /* This is in BGRx format */
             fmt->video.i_bmask = 0xff000000;
             fmt->video.i_gmask = 0x00ff0000;



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d843c0681cacccbf71af70ef054228c58e1d4d93
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