mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-01 05:39:51 +00:00
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.
This commit is contained in:
parent
e01b8a62ca
commit
9e9538c658
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
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>
|
||||
|
||||
* gst-libs/gst/interfaces/mixer.c: (gst_mixer_list_tracks),
|
||||
|
|
|
@ -1137,6 +1137,8 @@ start_seek (GtkWidget * widget, GdkEventButton * event, gpointer user_data)
|
|||
if (event->type != GDK_BUTTON_PRESS)
|
||||
return FALSE;
|
||||
|
||||
set_update_scale (FALSE);
|
||||
|
||||
if (state == GST_STATE_PLAYING && flush_seek && scrub) {
|
||||
GST_DEBUG ("start scrub seek, PAUSE");
|
||||
gst_element_set_state (pipeline, GST_STATE_PAUSED);
|
||||
|
|
Loading…
Reference in a new issue