summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-22 09:08:46 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-06-01 11:19:46 +0200
commit1a95b2911523020b8b99218c98e6f4e0d2d5a1fb (patch)
tree789481b1ec47fb08b85e4ada105228c164a2665d
parent820c8f9ed19786258609d157d1df8c240e22b4d4 (diff)
ivfparse: Send an initial NEWSEGMENT event
-rw-r--r--gst/ivfparse/gstivfparse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/ivfparse/gstivfparse.c b/gst/ivfparse/gstivfparse.c
index ac36b329c..5996af967 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 {