Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
f1a9cf18 by Marvin Scholz at 2022-03-24T07:55:49+00:00
chroma: i420: fix condition for warning message
- - - - -
1 changed file:
- modules/video_chroma/i420_rgb.c
Changes:
=====================================
modules/video_chroma/i420_rgb.c
=====================================
@@ -258,7 +258,7 @@ static int Activate( filter_t *p_filter )
video_format_t vfmt;
video_format_Init( &vfmt, p_filter->fmt_out.video.i_chroma );
video_format_Copy( &vfmt, &p_filter->fmt_out.video );
- if( !vfmt.i_bmask || !vfmt.i_gmask || !vfmt.i_bmask )
+ if( !vfmt.i_rmask || !vfmt.i_gmask || !vfmt.i_bmask )
msg_Warn( p_filter, "source did not set proper target RGB masks, using
default" );
video_format_FixRgb( &vfmt );
SetYUV( p_filter, &vfmt );
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/f1a9cf187b4a66cf9cbef76e6cdc514f8a6303a2
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/f1a9cf187b4a66cf9cbef76e6cdc514f8a6303a2
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits