From ba3910675812e059e744e49886c7100c98d01290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 1 Aug 2012 11:58:55 +0100 Subject: [PATCH] typefind: send segment_done event in addition to segment_done message --- plugins/elements/gsttypefindelement.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index ca1ffa2af5..d2990261d7 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -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; }