mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Make Johan happy.
Original commit message from CVS: Make Johan happy.
This commit is contained in:
parent
467c454d75
commit
49092af9c2
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue