Signed-off-by: Laurent Aimar <fenrir@videolan.org>
const subpicture_updater_t *p_upd )
{
VLC_UNUSED( p_dec );
- return subpicture_New( p_upd );
+ subpicture_t *p_subpicture = subpicture_New( p_upd );
+ p_subpicture->b_subtitle = true;
+ return p_subpicture;
}
static void spu_del_buffer( decoder_t *p_dec, subpicture_t *p_subpic )
else
fmt = id->p_decoder->fmt_out.video;
- /* FIXME the mdate() seems highly suspicious */
spu_RenderSubpictures( p_sys->p_spu, p_pic, &fmt,
- p_subpic, &id->p_decoder->fmt_out.video, mdate() );
+ p_subpic, &id->p_decoder->fmt_out.video, p_pic->date );
}
/* Run user specified filter chain */