Commit d5e3db1a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Set visible width height when decoding theora. This fixes #1439

parent b01d8662
......@@ -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 )
......
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