assrender: Update last stop for the subtitles

This commit is contained in:
Sebastian Dröge 2009-11-05 17:13:36 +01:00
parent 51da9d976f
commit 2d043ef744

View file

@ -638,6 +638,9 @@ gst_assrender_chain_text (GstPad * pad, GstBuffer * buffer)
render = GST_ASSRENDER (GST_PAD_PARENT (pad));
gst_segment_set_last_stop (&render->subtitle_segment, GST_FORMAT_TIME,
GST_BUFFER_TIMESTAMP (buffer));
if (render->subtitle_flushing)
return GST_FLOW_WRONG_STATE;