GNOME Bugzilla – Bug 337981
Error in GnlObject::state_change()
Last modified: 2006-04-10 17:35:17 UTC
There is a bug in GnlObject's state change for 0.10.1 . After calling the parent state_change() it does ret &= gnl_object_prepare(). The problem is that if the ret was GST_STATE_CHANGE_ASYNC (numeric value even) and the return of gnl_object_prepare() is TRUE (numeric value odd), then the result is ... 0 (GST_STATE_CHANGE_FAILURE).
Expected result: gnl_object_state_change() should only return GST_STATE_CHANGE_FAILURE if either the parent call returns it OR either gnl_object_prepare() OR either gnl_object_cleanup()
Commited fix in CVS.