Commit 9e9538c6 authored by Julien Moutte's avatar Julien Moutte
Browse files

tests/examples/seek/seek.c: Stop the scale updater when we start grabing the...

tests/examples/seek/seek.c: Stop the scale updater when we start grabing the slider. Don't wait for the pipeline to b...

Original commit message from CVS:
2006-10-13  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (do_seek), (start_seek),
(rate_spinbutton_changed_cb), (msg_state_changed): Stop the
scale
updater when we start grabing the slider. Don't wait for the
pipeline to be PAUSED.
parent e01b8a62
2006-10-13 Julien MOUTTE <julien@moutte.net>
* tests/examples/seek/seek.c: (do_seek), (start_seek),
(rate_spinbutton_changed_cb), (msg_state_changed): Stop the scale
updater when we start grabing the slider. Don't wait for the
pipeline to be PAUSED.
2006-10-13 Tim-Philipp Müller <tim at centricular dot net> 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
   
* gst-libs/gst/interfaces/mixer.c: (gst_mixer_list_tracks), * gst-libs/gst/interfaces/mixer.c: (gst_mixer_list_tracks),
...@@ -1137,6 +1137,8 @@ start_seek (GtkWidget * widget, GdkEventButton * event, gpointer user_data) ...@@ -1137,6 +1137,8 @@ start_seek (GtkWidget * widget, GdkEventButton * event, gpointer user_data)
if (event->type != GDK_BUTTON_PRESS) if (event->type != GDK_BUTTON_PRESS)
return FALSE; return FALSE;
set_update_scale (FALSE);
if (state == GST_STATE_PLAYING && flush_seek && scrub) { if (state == GST_STATE_PLAYING && flush_seek && scrub) {
GST_DEBUG ("start scrub seek, PAUSE"); GST_DEBUG ("start scrub seek, PAUSE");
gst_element_set_state (pipeline, GST_STATE_PAUSED); gst_element_set_state (pipeline, GST_STATE_PAUSED);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment