mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
typefind: send segment_done event in addition to segment_done message
This commit is contained in:
parent
389ec66946
commit
ba39106758
1 changed files with 2 additions and 0 deletions
|
@ -1102,6 +1102,8 @@ pause:
|
|||
gst_element_post_message (GST_ELEMENT (typefind),
|
||||
gst_message_new_segment_done (GST_OBJECT (typefind),
|
||||
GST_FORMAT_BYTES, stop));
|
||||
gst_pad_push_event (typefind->src,
|
||||
gst_event_new_segment_done (GST_FORMAT_BYTES, stop));
|
||||
} else {
|
||||
push_eos = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue