]> git.sesse.net Git - vlc/commitdiff
* Set visible width height when decoding theora. This fixes #1439
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 23 Jul 2008 00:16:40 +0000 (02:16 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 23 Jul 2008 00:19:13 +0000 (02:19 +0200)
modules/codec/theora.c

index 95f9a873702c51b35973803cfa7ace0fd8acbcc1..ba49b4c6af8a655cc175aede9906fcc257ee03fb 100644 (file)
@@ -287,8 +287,8 @@ static int ProcessHeaders( decoder_t *p_dec )
     p_dec->fmt_out.video.i_height = p_sys->ti.height;
     if( p_sys->ti.frame_width && p_sys->ti.frame_height )
     {
-        p_dec->fmt_out.video.i_width = p_sys->ti.frame_width;
-        p_dec->fmt_out.video.i_height = p_sys->ti.frame_height;
+        p_dec->fmt_out.video.i_visible_width = p_sys->ti.frame_width;
+        p_dec->fmt_out.video.i_visible_height = p_sys->ti.frame_height;
     }
 
     if( p_sys->ti.aspect_denominator && p_sys->ti.aspect_numerator )