Make Johan happy.

Original commit message from CVS:
Make Johan happy.
This commit is contained in:
Wim Taymans 2004-07-12 09:15:37 +00:00
parent 467c454d75
commit 49092af9c2
2 changed files with 2 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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);
}
}