After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337981 - Error in GnlObject::state_change()
Error in GnlObject::state_change()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gnonlin
0.10.1
Other Linux
: High critical
: 0.10.2
Assigned To: GStreamer Maintainers
Edward Hervey
Depends on:
Blocks: 336332
 
 
Reported: 2006-04-10 17:31 UTC by Edward Hervey
Modified: 2006-04-10 17:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2006-04-10 17:31:28 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).
Comment 1 Edward Hervey 2006-04-10 17:33:31 UTC
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()
Comment 2 Edward Hervey 2006-04-10 17:34:24 UTC
Commited fix in CVS.