]> git.sesse.net Git - vlc/commitdiff
Define proper size of output.
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 7 Feb 2008 15:48:19 +0000 (15:48 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 7 Feb 2008 15:48:19 +0000 (15:48 +0000)
modules/video_output/fb.c

index 199c3b85b2aacd146633f6bb6b4832e1fdf20adc..56aaae54aceafe3cc70fb94da6ab0f057ac361bb 100644 (file)
@@ -483,6 +483,10 @@ static int Init( vout_thread_t *p_vout )
 
     I_OUTPUTPICTURES = 0;
 
+    p_vout->output.i_width  = p_vout->render.i_width;
+    p_vout->output.i_height = p_vout->render.i_height;
+    p_vout->output.i_aspect = p_vout->render.i_aspect;
+
     p_vout->fmt_out = p_vout->fmt_in;
     if( p_sys->i_chroma == 0 )
     {