mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
avdemux: Implement segment-done event
This commit is contained in:
parent
cdcaa584a4
commit
06d24b47b6
1 changed files with 2 additions and 0 deletions
|
@ -1485,6 +1485,8 @@ pause:
|
|||
gst_element_post_message (GST_ELEMENT (demux),
|
||||
gst_message_new_segment_done (GST_OBJECT (demux),
|
||||
demux->segment.format, stop));
|
||||
gst_ffmpegdemux_push_event (demux,
|
||||
gst_event_new_segment_done (demux->segment.format, stop));
|
||||
} else {
|
||||
GST_LOG_OBJECT (demux, "pushing eos");
|
||||
gst_ffmpegdemux_push_event (demux, gst_event_new_eos ());
|
||||
|
|
Loading…
Reference in a new issue