summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-10-11 23:03:09 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-10-11 23:03:09 +0000
commit7d756621ee1d89a900525b8eb3a195fa21716586 (patch)
tree49e793a38105cf342096083ab7ea78ba386bcf28 /ext
parentc6b126037e8fdfd5e4b38472cbd8a045c8306d63 (diff)
downloadgst-plugins-bad-7d756621ee1d89a900525b8eb3a195fa21716586.tar.gz
gst-plugins-bad-7d756621ee1d89a900525b8eb3a195fa21716586.tar.bz2
gst-plugins-bad-7d756621ee1d89a900525b8eb3a195fa21716586.zip
ext/faad/gstfaad.c: newsegment API update
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_event): newsegment API update
Diffstat (limited to 'ext')
-rw-r--r--ext/faad/gstfaad.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 686ce1d2..9232bf82 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -629,10 +629,12 @@ gst_faad_event (GstPad * pad, GstEvent * event)
case GST_EVENT_NEWSEGMENT:
{
GstFormat fmt;
+ gboolean is_update;
gint64 start, end, base;
gdouble rate;
- gst_event_parse_newsegment (event, &rate, &fmt, &start, &end, &base);
+ gst_event_parse_newsegment (event, &is_update, &rate, &fmt, &start,
+ &end, &base);
if (fmt == GST_FORMAT_TIME) {
GST_DEBUG ("Got NEWSEGMENT event in GST_FORMAT_TIME, passing on (%"
GST_TIME_FORMAT " - %" GST_TIME_FORMAT ")", GST_TIME_ARGS (start),
@@ -656,8 +658,8 @@ gst_faad_event (GstPad * pad, GstEvent * event)
("no average bitrate yet, sending newsegment with start at 0");
}
new_ev =
- gst_event_new_newsegment (rate, GST_FORMAT_TIME, new_start, new_end,
- base);
+ gst_event_new_newsegment (is_update, rate, GST_FORMAT_TIME,
+ new_start, new_end, base);
gst_event_unref (event);
event = new_ev;
GST_DEBUG ("Sending new NEWSEGMENT event, time %" GST_TIME_FORMAT