From 1a95b2911523020b8b99218c98e6f4e0d2d5a1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 22 May 2010 09:08:46 +0200 Subject: [PATCH] ivfparse: Send an initial NEWSEGMENT event --- gst/ivfparse/gstivfparse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/ivfparse/gstivfparse.c b/gst/ivfparse/gstivfparse.c index ac36b329ce..5996af9672 100644 --- a/gst/ivfparse/gstivfparse.c +++ b/gst/ivfparse/gstivfparse.c @@ -215,6 +215,9 @@ gst_ivfparse_chain (GstPad * pad, GstBuffer * buf) ivf->rate_num = rate_num; ivf->rate_den = rate_den; + gst_pad_push_event (ivf->srcpad, gst_event_new_new_segment (FALSE, 1.0, + GST_FORMAT_TIME, 0, -1, 0)); + /* move along */ ivf->state = GST_IVFPARSE_DATA; } else {