diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-05-09 18:16:46 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-11 01:54:36 +0100 |
commit | 8b39dc2f80970c6231087b9834557b786e6caa9d (patch) | |
tree | 7bd1c401ac8c0c77c4fb021441b552a849a3fa41 /gst/gdp | |
parent | a1c42ffe0bb7af19be109001b0750cc2be601d40 (diff) | |
download | gstreamer-plugins-bad-8b39dc2f80970c6231087b9834557b786e6caa9d.tar.gz |
segment: fix for new core API
Fix for gst_*_segment_full rename.
Diffstat (limited to 'gst/gdp')
-rw-r--r-- | gst/gdp/gstgdppay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index e9485cf1c..0cb8288a5 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -456,7 +456,7 @@ gst_gdp_pay_reset_streamheader (GstGDPPay * this) /* if these are our first ever buffers, send out new_segment first */ if (!this->sent_streamheader) { GstEvent *event = - gst_event_new_new_segment (TRUE, 1.0, GST_FORMAT_BYTES, 0, -1, 0); + gst_event_new_new_segment (TRUE, 1.0, 1.0, GST_FORMAT_BYTES, 0, -1, 0); GST_DEBUG_OBJECT (this, "Sending out new_segment event %p", event); if (!gst_pad_push_event (this->srcpad, event)) { GST_WARNING_OBJECT (this, "pushing new segment failed"); @@ -564,7 +564,8 @@ gst_gdp_pay_chain (GstPad * pad, GstBuffer * buffer) GST_WARNING_OBJECT (this, "did not receive new-segment before first buffer"); - event = gst_event_new_new_segment (TRUE, 1.0, GST_FORMAT_BYTES, 0, -1, 0); + event = + gst_event_new_new_segment (TRUE, 1.0, 1.0, GST_FORMAT_BYTES, 0, -1, 0); outbuffer = gst_gdp_buffer_from_event (this, event); gst_event_unref (event); |