[vlc-devel] commit: * Set visible width height when decoding theora. This fixes #1439 ( Derk-Jan Hartman )
git version control
git at videolan.org
Wed Jul 23 02:16:43 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed Jul 23 02:16:40 2008 +0200| [d5e3db1a1ece7647497f99676322d2b1e1b20282]
* Set visible width height when decoding theora. This fixes #1439
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d5e3db1a1ece7647497f99676322d2b1e1b20282
---
modules/codec/theora.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/theora.c b/modules/codec/theora.c
index 95f9a87..ba49b4c 100644
--- a/modules/codec/theora.c
+++ b/modules/codec/theora.c
@@ -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 )
More information about the vlc-devel
mailing list