mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
tests/examples/seek/seek.c: Segment seeking needs to use the rate and set stop to -1.
Original commit message from CVS: 2006-10-13 Julien MOUTTE <julien@moutte.net> * tests/examples/seek/seek.c: (do_seek), (start_seek), (rate_spinbutton_changed_cb), (segment_done), (msg_state_changed): Segment seeking needs to use the rate and set stop to -1.
This commit is contained in:
parent
9b139e41fb
commit
3456ed16d4
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-10-13 Julien MOUTTE <julien@moutte.net>
|
||||||
|
|
||||||
|
* tests/examples/seek/seek.c: (do_seek), (start_seek),
|
||||||
|
(rate_spinbutton_changed_cb), (segment_done), (msg_state_changed):
|
||||||
|
Segment seeking needs to use the rate and set stop to -1.
|
||||||
|
|
||||||
2006-10-13 Wim Taymans <wim@fluendo.com>
|
2006-10-13 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||||
|
|
|
@ -1327,8 +1327,8 @@ segment_done (GstBus * bus, GstMessage * message, GstPipeline * pipeline)
|
||||||
if (loop_seek)
|
if (loop_seek)
|
||||||
flags |= GST_SEEK_FLAG_SEGMENT;
|
flags |= GST_SEEK_FLAG_SEGMENT;
|
||||||
|
|
||||||
event = gst_event_new_seek (1.0,
|
event = gst_event_new_seek (rate,
|
||||||
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_NONE, 0);
|
GST_FORMAT_TIME, flags, GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_SET, -1);
|
||||||
|
|
||||||
GST_DEBUG ("segmeent seek to start");
|
GST_DEBUG ("segmeent seek to start");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue