From 05881a9610a7f57971d94ae4ad567bf94a376402 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Tue, 1 Jul 2008 22:49:40 +0200 Subject: [PATCH] Video outputs should not change the vout's render format. --- modules/video_output/fb.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c index e3a8fb967e..95ea2fe1a3 100644 --- a/modules/video_output/fb.c +++ b/modules/video_output/fb.c @@ -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 ) -- 2.39.5