[vlc-commits] invert: black-list BGRA
Rémi Denis-Courmont
git at videolan.org
Thu Dec 20 19:43:11 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 19 23:40:14 2018 +0200| [cfb0f444d547efb9b33ced5e261164ea98351ea5] | committer: Rémi Denis-Courmont
invert: black-list BGRA
(same reason as other RGBA variants)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfb0f444d547efb9b33ced5e261164ea98351ea5
---
modules/video_filter/invert.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_filter/invert.c b/modules/video_filter/invert.c
index 8e41f46fe6..198fb9ba3c 100644
--- a/modules/video_filter/invert.c
+++ b/modules/video_filter/invert.c
@@ -67,7 +67,8 @@ static int Create( vlc_object_t *p_this )
vlc_fourcc_t fourcc = p_filter->fmt_in.video.i_chroma;
if( fourcc == VLC_CODEC_YUVP || fourcc == VLC_CODEC_RGBP
- || fourcc == VLC_CODEC_RGBA || fourcc == VLC_CODEC_ARGB )
+ || fourcc == VLC_CODEC_RGBA || fourcc == VLC_CODEC_ARGB
+ || fourcc == VLC_CODEC_BGRA )
return VLC_EGENERIC;
const vlc_chroma_description_t *p_chroma =
More information about the vlc-commits
mailing list