Commit f28b106b authored by Jean-Paul Saman's avatar Jean-Paul Saman

Theora framesize calculation patch by Kevin H. Patterson (kevpatt at khptech dot com)

parent e1dc62de
...@@ -83,6 +83,7 @@ John Paul Lorenti <jpl31 at columbia.edu> - ALSA device selection patch ...@@ -83,6 +83,7 @@ John Paul Lorenti <jpl31 at columbia.edu> - ALSA device selection patch
Jonas Larsen <jonas at vrt.dk> - Danish translation Jonas Larsen <jonas at vrt.dk> - Danish translation
Julien Blache <jb at technologeek.org> - disc ejection code Julien Blache <jb at technologeek.org> - disc ejection code
kty0ne - WinAmp 5 skin for VLC kty0ne - WinAmp 5 skin for VLC
Kevin H. Patterson <kevpatt at khptech dot com> - Theora framesize calculation patch by Kevin H. Patterson (kevpatt at khptech dot com
Laurent Jonqueres <laurent_jonqueres at yahoo.fr> - Occitan localization Laurent Jonqueres <laurent_jonqueres at yahoo.fr> - Occitan localization
Laurent Mutricy <laurent.mutricy at ecl2005 dot ec-lyon dot fr> - HTTP interface fixes Laurent Mutricy <laurent.mutricy at ecl2005 dot ec-lyon dot fr> - HTTP interface fixes
Lorena Gomes - Catalan translation Lorena Gomes - Catalan translation
......
...@@ -294,8 +294,8 @@ static int ProcessHeaders( decoder_t *p_dec ) ...@@ -294,8 +294,8 @@ static int ProcessHeaders( decoder_t *p_dec )
if( p_sys->ti.aspect_denominator && p_sys->ti.aspect_numerator ) if( p_sys->ti.aspect_denominator && p_sys->ti.aspect_numerator )
{ {
p_dec->fmt_out.video.i_aspect = ((int64_t)VOUT_ASPECT_FACTOR) * p_dec->fmt_out.video.i_aspect = ((int64_t)VOUT_ASPECT_FACTOR) *
( p_sys->ti.aspect_numerator * p_sys->ti.width ) / ( p_sys->ti.aspect_numerator * p_dec->fmt_out.video.i_width ) /
( p_sys->ti.aspect_denominator * p_sys->ti.height ); ( p_sys->ti.aspect_denominator * p_dec->fmt_out.video.i_height );
} }
else else
{ {
...@@ -557,7 +557,7 @@ static void theora_CopyPicture( decoder_t *p_dec, picture_t *p_pic, ...@@ -557,7 +557,7 @@ static void theora_CopyPicture( decoder_t *p_dec, picture_t *p_pic,
i_src_yoffset /= 2; i_src_yoffset /= 2;
} }
p_src += (i_src_yoffset * i_src_stride + i_src_yoffset); p_src += (i_src_yoffset * i_src_stride + i_src_xoffset);
for( i_line = 0; i_line < p_pic->p[i_plane].i_visible_lines; i_line++ ) for( i_line = 0; i_line < p_pic->p[i_plane].i_visible_lines; i_line++ )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment