Commit 3d509978 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

video_chroma: i420->yuy2 filter cannot scale.

(cherry picked from commit 311bfd11)
parent 7a57ea74
......@@ -120,6 +120,10 @@ static int Activate( vlc_object_t *p_this )
return -1;
}
if( p_filter->fmt_in.video.i_width != p_filter->fmt_out.video.i_width
|| p_filter->fmt_in.video.i_height != p_filter->fmt_out.video.i_height )
return -1;
switch( p_filter->fmt_in.video.i_chroma )
{
case VLC_FOURCC('Y','V','1','2'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment