mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 02:13:46 +00:00
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.
This commit is contained in:
parent
2d71ddc3c9
commit
841750c80a
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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)
|
||||||
|
|
||||||
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),
|
||||||
|
|
Loading…
Reference in a new issue