diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-05-22 09:08:46 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-01 11:19:46 +0200 |
commit | 1a95b2911523020b8b99218c98e6f4e0d2d5a1fb (patch) | |
tree | 789481b1ec47fb08b85e4ada105228c164a2665d /gst/ivfparse/gstivfparse.c | |
parent | 820c8f9ed19786258609d157d1df8c240e22b4d4 (diff) | |
download | gstreamer-plugins-bad-1a95b2911523020b8b99218c98e6f4e0d2d5a1fb.tar.gz |
ivfparse: Send an initial NEWSEGMENT event
Diffstat (limited to 'gst/ivfparse/gstivfparse.c')
-rw-r--r-- | gst/ivfparse/gstivfparse.c | 3 |
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 { |