[gst-cvs] gst-plugins-base: seek: allow seeking behind the currently downloaded position.

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Sep 1 02:15:45 PDT 2010


Module: gst-plugins-base
Branch: master
Commit: ad03838f5577b1829ad0548037268a461719f9db
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=ad03838f5577b1829ad0548037268a461719f9db

Author: Philippe Normand <pnormand at igalia.com>
Date:   Wed Sep  1 11:11:47 2010 +0200

seek: allow seeking behind the currently downloaded position.

---

 tests/examples/seek/seek.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c
index 8c231cd..633a4a2 100644
--- a/tests/examples/seek/seek.c
+++ b/tests/examples/seek/seek.c
@@ -2791,6 +2791,7 @@ main (int argc, char **argv)
   gtk_scale_set_digits (GTK_SCALE (hscale), 2);
   gtk_scale_set_value_pos (GTK_SCALE (hscale), GTK_POS_RIGHT);
   gtk_range_set_show_fill_level (GTK_RANGE (hscale), TRUE);
+  gtk_range_set_restrict_to_fill_level (GTK_RANGE (hscale), FALSE);
   gtk_range_set_fill_level (GTK_RANGE (hscale), 100.0);
   gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS);
 





More information about the Gstreamer-commits mailing list