mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
gst/gstbin.c: Correctly set the next state if all of our async children commited their state. This makes sure we can ...
Original commit message from CVS: * gst/gstbin.c: (bin_handle_async_done): Correctly set the next state if all of our async children commited their state. This makes sure we can actually cancel the state change in progress. Fixes a regression in Rhythmbox when seeking.
This commit is contained in:
parent
65637313b0
commit
00e832a463
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-10-14 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/gstbin.c: (bin_handle_async_done):
|
||||
Correctly set the next state if all of our async children commited their
|
||||
state. This makes sure we can actually cancel the state change in
|
||||
progress. Fixes a regression in Rhythmbox when seeking.
|
||||
|
||||
2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstbin.c:
|
||||
|
|
|
@ -2583,6 +2583,7 @@ bin_handle_async_done (GstBin * bin, GstStateChangeReturn ret)
|
|||
cont->pending = pending;
|
||||
/* mark busy */
|
||||
GST_STATE_RETURN (bin) = GST_STATE_CHANGE_ASYNC;
|
||||
GST_STATE_NEXT (bin) = pending;
|
||||
}
|
||||
|
||||
if (old_next != GST_STATE_PLAYING) {
|
||||
|
|
Loading…
Reference in a new issue