Commit 37df6420 authored by Julien Moutte's avatar Julien Moutte
Browse files

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.
parent d8c28a99
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,
......
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