Commit 2c53152a authored by gbazin's avatar gbazin
Browse files

* src/video_output/vout_subpictures.c: pass on video output size changes to the text renderer.

parent f0c25f96
......@@ -516,6 +516,15 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
p_spu->p_text->p_module =
module_Need( p_spu->p_text, "text renderer", 0, 0 );
}
else if( p_region )
{
p_spu->p_text->fmt_out.video.i_width =
p_spu->p_text->fmt_out.video.i_visible_width =
p_fmt->i_width;
p_spu->p_text->fmt_out.video.i_height =
p_spu->p_text->fmt_out.video.i_visible_height =
p_fmt->i_height;
}
i_scale_width = i_scale_width_orig;
i_scale_height = i_scale_height_orig;
......
Supports Markdown
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