Commit f06ef3b4 authored by Ilkka Ollakka's avatar Ilkka Ollakka

transcode: give proper src fmt for subtitle overlay

parent b972fe8b
......@@ -648,7 +648,8 @@ static void OutputFrame( sout_stream_t *p_stream, picture_t *p_pic, sout_stream_
fmt.i_y_offset = 0;
}
subpicture_t *p_subpic = spu_Render( p_sys->p_spu, NULL, &fmt, &fmt,
subpicture_t *p_subpic = spu_Render( p_sys->p_spu, NULL, &fmt,
&id->p_decoder->fmt_out.video,
p_pic->date, p_pic->date, false );
/* Overlay subpicture */
......
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