assrender: Update last stop for the subtitles
This commit is contained in:
parent
51da9d976f
commit
2d043ef744
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user