mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.
This commit is contained in:
parent
1b01b41b69
commit
2d71ddc3c9
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-02-21 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* 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 <ensonic@users.sf.net>
|
||||
|
||||
* gst/volume/gstvolume.c: (volume_process_int16),
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue