mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
assrender: Update last stop for the subtitles
This commit is contained in:
parent
51da9d976f
commit
2d043ef744
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue