Fix typo.
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 30 Jun 2008 20:14:01 +0000 (22:14 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 30 Jun 2008 20:14:18 +0000 (22:14 +0200)
modules/video_filter/chain.c

index 359bcb3..0a303fc 100644 (file)
@@ -134,7 +134,7 @@ static int Activate( vlc_object_t *p_this )
     {
         /* Lets try resizing and then doing the chroma conversion */
         es_format_Copy( &fmt_mid, &p_filter->fmt_out );
-        fmt_mid.video.i_chroma = p_filter->fmt_out.video.i_chroma;
+        fmt_mid.video.i_chroma = p_filter->fmt_in.video.i_chroma;
         if( CreateChain( p_sys->p_chain, &fmt_mid ) == VLC_SUCCESS )
         {
             es_format_Clean( &fmt_mid );