summaryrefslogtreecommitdiffstats
path: root/ext/musepack/gstmusepackdec.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2005-11-23 00:28:12 +0000
committerEdward Hervey <bilboed@bilboed.com>2005-11-23 00:28:12 +0000
commit121ae03dc13bb50d5bb169acc24a359218a30de8 (patch)
tree187d6f6d10602c8a743c724d434253807e5b357e /ext/musepack/gstmusepackdec.c
parenta5ef8aef56c1639abcc23b7ba19c00225a041e89 (diff)
downloadgst-plugins-bad-121ae03dc13bb50d5bb169acc24a359218a30de8.tar.gz
gst-plugins-bad-121ae03dc13bb50d5bb169acc24a359218a30de8.tar.bz2
gst-plugins-bad-121ae03dc13bb50d5bb169acc24a359218a30de8.zip
ext/musepack/gstmusepackdec.c: Fix for latest API changes
Original commit message from CVS: * ext/musepack/gstmusepackdec.c: (gst_musepackdec_loop): Fix for latest API changes
Diffstat (limited to 'ext/musepack/gstmusepackdec.c')
-rw-r--r--ext/musepack/gstmusepackdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/musepack/gstmusepackdec.c b/ext/musepack/gstmusepackdec.c
index f058bb4c..877a4e3c 100644
--- a/ext/musepack/gstmusepackdec.c
+++ b/ext/musepack/gstmusepackdec.c
@@ -507,7 +507,7 @@ gst_musepackdec_loop (GstPad * sinkpad)
if (!gst_musepack_stream_init (musepackdec))
return;
gst_pad_push_event (musepackdec->srcpad,
- gst_event_new_newsegment (FALSE, 1.0,
+ gst_event_new_new_segment (FALSE, 1.0,
GST_FORMAT_TIME, musepackdec->pos, GST_CLOCK_TIME_NONE, 0));
}
@@ -521,7 +521,7 @@ gst_musepackdec_loop (GstPad * sinkpad)
gst_pad_push_event (musepackdec->srcpad, gst_event_new_flush_start ());
}
gst_pad_push_event (musepackdec->srcpad,
- gst_event_new_newsegment (FALSE, 1.0,
+ gst_event_new_new_segment (FALSE, 1.0,
GST_FORMAT_TIME, musepackdec->seek_time, GST_CLOCK_TIME_NONE, 0));
fmt = GST_FORMAT_DEFAULT;
gst_musepackdec_src_convert (musepackdec->srcpad,