Commit 121ae03d authored by Edward Hervey's avatar Edward Hervey 🤘

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
parent a5ef8aef
2005-11-23 Edward Hervey <edward@fluendo.com>
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_loop):
Fix for latest API changes
2005-11-22 Edgard Lima <edgard.lima@indt.org.br>
* configure.ac:
* PORTED_09:
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment