]> git.sesse.net Git - vlc/commitdiff
Use I420 image buffers instead of YUVA for mosaic bridge. Impact on CPU usage for...
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 2 Apr 2007 20:58:14 +0000 (20:58 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 2 Apr 2007 20:58:14 +0000 (20:58 +0000)
modules/stream_out/mosaic_bridge.c

index f109de6479e00958cc84aa847b8a41b4d448a12d..7d9595c2113e9827b5fff7780cc9f0750bd6dd42 100644 (file)
@@ -438,7 +438,11 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
             memset( &fmt_out, 0, sizeof(video_format_t) );
             fmt_in = p_sys->p_decoder->fmt_out.video;
 
+#if 0
             fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
+#else
+            fmt_out.i_chroma = VLC_FOURCC('I','4','2','0');
+#endif
 
             if ( !p_sys->i_height )
             {