GNOME Bugzilla – Bug 331385
[alpha] state change function returns a constant
Last modified: 2006-02-16 09:23:16 UTC
Please describe the problem: GstAlpha's state_change function always returns GST_STATE_CHANGE_SUCCESS, no matter if the state change function of the parent element succeeds or not. I think it should just return the value of the parent elements state_change function. A patch will be uploaded that fixes this behaviour Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 59459 [details] [review] Introduces the right behaviour
Applied (slightly modified), thanks! 2006-02-16 Tim-Philipp Müller <tim at centricular dot net> * gst/alpha/gstalpha.c: (gst_alpha_change_state): Don't ignore return value of the parent class's state change function (#331385, patch by: Wouter Paesen).