summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/seeking/seek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c
index 3cd64cdf..2f70de9a 100644
--- a/examples/seeking/seek.c
+++ b/examples/seeking/seek.c
@@ -899,6 +899,7 @@ stop_cb (GtkButton * button, gpointer data)
{
if (gst_element_get_state (pipeline) != GST_STATE_READY) {
gst_element_set_state (pipeline, GST_STATE_READY);
+ gtk_adjustment_set_value (adjustment, 0.0);
gtk_timeout_remove (update_id);
}
}