From 2d71ddc3c9e42f286f74ed8cd844435f733814fe Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 21 Feb 2007 15:36:26 +0000 Subject: [PATCH] tests/examples/seek/seek.c: Don't SEEK_SET with a stop time of -1, use SEEK_NONE instead. Original commit message from CVS: * tests/examples/seek/seek.c: (do_seek): Don't SEEK_SET with a stop time of -1, use SEEK_NONE instead. --- ChangeLog | 5 +++++ tests/examples/seek/seek.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d24f9e9a58..57e9900b20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-21 Jan Schmidt + + * tests/examples/seek/seek.c: (do_seek): + Don't SEEK_SET with a stop time of -1, use SEEK_NONE instead. + 2007-02-21 Stefan Kost * gst/volume/gstvolume.c: (volume_process_int16), diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index 13ca36fffc..5ac774c712 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -1112,7 +1112,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_NONE, + -1); } else { s_event = gst_event_new_seek (rate, GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, G_GINT64_CONSTANT (0),