]> git.sesse.net Git - vlc/commitdiff
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 e3a8fb967e966acff3455b065fb41a18bc5cd9e6..95ea2fe1a317b5df5284080e885488a52eb07b65 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 )