Video outputs should not change the vout's render format.
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 1 Jul 2008 20:49:40 +0000 (22:49 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 1 Jul 2008 20:49:40 +0000 (22:49 +0200)
modules/video_output/fb.c

index e3a8fb9..95ea2fe 100644 (file)
@@ -525,13 +525,12 @@ static int Init( vout_thread_t *p_vout )
     }
     p_vout->fmt_out.i_chroma = p_vout->output.i_chroma;
 
-    if( !p_sys->b_auto )
-    {
-        p_vout->render.i_width = p_sys->i_width;
-        p_vout->render.i_height = p_sys->i_height;
-    }
-    p_vout->output.i_width  = p_vout->fmt_out.i_width = p_sys->i_width;
-    p_vout->output.i_height = p_vout->fmt_out.i_height = p_sys->i_height;
+    p_vout->output.i_width =
+    p_vout->fmt_out.i_width =
+    p_vout->fmt_out.i_visible_width = p_sys->i_width;
+    p_vout->output.i_height =
+    p_vout->fmt_out.i_height =
+    p_vout->fmt_out.i_visible_height = p_sys->i_height;
 
     /* Assume we have square pixels */
     if( p_sys->i_aspect < 0 )