Skip to content
Snippets Groups Projects
Commit f1a9cf18 authored by Marvin Scholz's avatar Marvin Scholz Committed by Hugo Beauzée-Luyssen
Browse files

chroma: i420: fix condition for warning message

parent 550ef563
No related branches found
No related tags found
Loading
Pipeline #203462 passed with stage
in 26 minutes and 34 seconds
......@@ -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 );
......
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