mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
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.
This commit is contained in:
parent
ef5004e56e
commit
99fdf0d770
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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),
|
||||
|
|
Loading…
Reference in a new issue