mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
tests/examples/seek/seek.c: Make sure we reset the slider value to 0.0 without racing against a possible g_idle that ...
Original commit message from CVS: * tests/examples/seek/seek.c: (stop_cb): Make sure we reset the slider value to 0.0 without racing against a possible g_idle that sets it to something else.
This commit is contained in:
parent
d18853b253
commit
1a75314aab
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* tests/examples/seek/seek.c: (stop_cb):
|
||||
Make sure we reset the slider value to 0.0 without racing against a
|
||||
possible g_idle that sets it to something else.
|
||||
|
||||
2007-12-31 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||
|
||||
* sys/ximage/ximagesink.c:
|
||||
|
|
|
@ -1352,10 +1352,11 @@ stop_cb (GtkButton * button, gpointer data)
|
|||
if (ret == GST_STATE_CHANGE_FAILURE)
|
||||
goto failed;
|
||||
|
||||
set_scale (0.0);
|
||||
|
||||
state = GST_STATE_READY;
|
||||
|
||||
set_update_scale (FALSE);
|
||||
set_scale (0.0);
|
||||
|
||||
/* if one uses parse_launch, play, stop and play again it fails as all the
|
||||
* pads after the demuxer can't be reconnected
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue