Commit 841750c8 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

tests/examples/seek/seek.c: Undo the previous commit: -1 as a stop time...

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.
parent 2d71ddc3
2007-02-21 Jan Schmidt <thaytan@mad.scientist.com>
* 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 <thaytan@mad.scientist.com> 2007-02-21 Jan Schmidt <thaytan@mad.scientist.com>
   
* tests/examples/seek/seek.c: (do_seek): * tests/examples/seek/seek.c: (do_seek):
...@@ -1112,8 +1112,7 @@ do_seek (GtkWidget * widget) ...@@ -1112,8 +1112,7 @@ do_seek (GtkWidget * widget)
if (rate >= 0) { if (rate >= 0) {
s_event = gst_event_new_seek (rate, s_event = gst_event_new_seek (rate,
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, real, GST_SEEK_TYPE_NONE, GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, real, GST_SEEK_TYPE_SET, -1);
-1);
} else { } else {
s_event = gst_event_new_seek (rate, s_event = gst_event_new_seek (rate,
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, G_GINT64_CONSTANT (0), 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