From 841750c80ab7788d05fd291579dcfda320c2c651 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 21 Feb 2007 16:12:15 +0000 Subject: [PATCH] tests/examples/seek/seek.c: Undo the previous commit: -1 as a stop time implies that the stop time is the end of file... Original commit message from CVS: * tests/examples/seek/seek.c: (do_seek): Undo the previous commit: -1 as a stop time implies that the stop time is the end of file, clearing any previously configured segment. --- ChangeLog | 6 ++++++ tests/examples/seek/seek.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57e9900b20..a0cec585b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-21 Jan Schmidt + + * tests/examples/seek/seek.c: (do_seek): + Undo the previous commit: -1 as a stop time implies that the stop + time is the end of file, clearing any previously configured segment. + 2007-02-21 Jan Schmidt * tests/examples/seek/seek.c: (do_seek): diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index 5ac774c712..13ca36fffc 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -1112,8 +1112,7 @@ 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_NONE, - -1); + GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, real, GST_SEEK_TYPE_SET, -1); } else { s_event = gst_event_new_seek (rate, GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, G_GINT64_CONSTANT (0),