From 121ae03dc13bb50d5bb169acc24a359218a30de8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 23 Nov 2005 00:28:12 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ ext/musepack/gstmusepackdec.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b6cc8aa..96aa9cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-23 Edward Hervey + + * ext/musepack/gstmusepackdec.c: (gst_musepackdec_loop): + Fix for latest API changes + 2005-11-22 Edgard Lima * configure.ac: * PORTED_09: diff --git a/ext/musepack/gstmusepackdec.c b/ext/musepack/gstmusepackdec.c index f058bb4..877a4e3 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, -- 2.7.4