mosaic.c: If we're not using bluescreen stuff (which needs per pixel alpha values...
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 2 Apr 2007 21:03:58 +0000 (21:03 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 2 Apr 2007 21:03:58 +0000 (21:03 +0000)
modules/video_filter/mosaic.c

index 2cc9418..7f88435 100644 (file)
@@ -615,7 +615,10 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
             fmt_in.i_height = p_es->p_picture->format.i_height;
             fmt_in.i_width = p_es->p_picture->format.i_width;
 
-            fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
+            if( p_sys->b_bs )
+                fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
+            else
+                fmt_out.i_chroma = VLC_FOURCC('I','4','2','0');
             fmt_out.i_width = col_inner_width;
             fmt_out.i_height = row_inner_height;