Commit 05881a96 authored by Antoine Cellerier's avatar Antoine Cellerier

Video outputs should not change the vout's render format.

parent 2ab18523
......@@ -525,13 +525,12 @@ static int Init( vout_thread_t *p_vout )
}
p_vout->fmt_out.i_chroma = p_vout->output.i_chroma;
if( !p_sys->b_auto )
{
p_vout->render.i_width = p_sys->i_width;
p_vout->render.i_height = p_sys->i_height;
}
p_vout->output.i_width = p_vout->fmt_out.i_width = p_sys->i_width;
p_vout->output.i_height = p_vout->fmt_out.i_height = p_sys->i_height;
p_vout->output.i_width =
p_vout->fmt_out.i_width =
p_vout->fmt_out.i_visible_width = p_sys->i_width;
p_vout->output.i_height =
p_vout->fmt_out.i_height =
p_vout->fmt_out.i_visible_height = p_sys->i_height;
/* Assume we have square pixels */
if( p_sys->i_aspect < 0 )
......
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