mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
Make Johan happy.
Original commit message from CVS: Make Johan happy.
This commit is contained in:
parent
831a7c1139
commit
afb0fbccd9
1 changed files with 1 additions and 0 deletions
|
@ -899,6 +899,7 @@ stop_cb (GtkButton * button, gpointer data)
|
||||||
{
|
{
|
||||||
if (gst_element_get_state (pipeline) != GST_STATE_READY) {
|
if (gst_element_get_state (pipeline) != GST_STATE_READY) {
|
||||||
gst_element_set_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);
|
gtk_timeout_remove (update_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue