mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
tests/examples/seek/seek.c: Add some seek flags when changing rate.
Original commit message from CVS: 2008-02-12 Julien Moutte <julien@fluendo.com> * tests/examples/seek/seek.c: (rate_spinbutton_changed_cb): Add some seek flags when changing rate.
This commit is contained in:
parent
d8c28a99c8
commit
37df642086
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-02-12 Julien Moutte <julien@fluendo.com>
|
||||
|
||||
* tests/examples/seek/seek.c: (rate_spinbutton_changed_cb): Add
|
||||
some seek flags when changing rate.
|
||||
|
||||
2008-02-12 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
|
||||
|
|
|
@ -1441,6 +1441,10 @@ rate_spinbutton_changed_cb (GtkSpinButton * button, GstPipeline * pipeline)
|
|||
flags |= GST_SEEK_FLAG_FLUSH;
|
||||
if (loop_seek)
|
||||
flags |= GST_SEEK_FLAG_SEGMENT;
|
||||
if (accurate_seek)
|
||||
flags |= GST_SEEK_FLAG_ACCURATE;
|
||||
if (keyframe_seek)
|
||||
flags |= GST_SEEK_FLAG_KEY_UNIT;
|
||||
|
||||
if (rate >= 0) {
|
||||
s_event = gst_event_new_seek (rate,
|
||||
|
|
Loading…
Reference in a new issue