typefind: send segment_done event in addition to segment_done message

This commit is contained in:
Tim-Philipp Müller 2012-08-01 11:58:55 +01:00
parent 389ec66946
commit ba39106758

View file

@ -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;
}