diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c index 3cd64cdfab..2f70de9ab4 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); } } diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index 3cd64cdfab..2f70de9ab4 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/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); } }