Commit 99fdf0d7 authored by Stefan Kost's avatar Stefan Kost
Browse files

tests/examples/seek/seek.c: Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.

Original commit message from CVS:
* tests/examples/seek/seek.c:
Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.
parent ef5004e5
2008-07-24 Stefan Kost <ensonic@users.sf.net>
* tests/examples/seek/seek.c:
Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.
2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
 
* gst/audioconvert/audioconvert.h:
......@@ -1288,7 +1288,8 @@ do_seek (GtkWidget * widget)
if (rate >= 0) {
s_event = gst_event_new_seek (rate,
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, real, GST_SEEK_TYPE_SET, -1);
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, real, GST_SEEK_TYPE_SET,
GST_CLOCK_TIME_NONE);
GST_DEBUG ("seek with rate %lf to %" GST_TIME_FORMAT " / %" GST_TIME_FORMAT,
rate, GST_TIME_ARGS (real), GST_TIME_ARGS (duration));
} else {
......@@ -1603,7 +1604,7 @@ rate_spinbutton_changed_cb (GtkSpinButton * button, GstPipeline * pipeline)
if (rate >= 0) {
s_event = gst_event_new_seek (rate,
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, position,
GST_SEEK_TYPE_SET, -1);
GST_SEEK_TYPE_SET, GST_CLOCK_TIME_NONE);
} else {
s_event = gst_event_new_seek (rate,
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, G_GINT64_CONSTANT (0),
......
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