GNOME Bugzilla – Bug 159786
Colorbalance list_channels conflicts with tuner list_channels
Last modified: 2005-06-30 15:35:09 UTC
Look in interfaces.defs ... as v4lsrc and v4l2src are both colorbalance and tuners, the list_channels is wrong for colorbalance. Maybe replace with list_colorbalance_channels ? Problem is API breakage...but as list_channels never worked for colorbalance objects coz all of them tended to have tuners its probably safe to do.
Well, it's possible to do something like: gst.interfaces.Tuner.list_channels(self) and gst.interfaces.ColorBalance.list_channels(self) However, it's quite ugly as you point out and you cannot really be sure which one to call. This should in reality be fixed upstream, so all different should use unique method names to avoid clashes like this.
No API breakage coz that function wasnt exposed anyway due to there being no override. A patch to fix this and add fields to colorbalancechannel type is at: http://zaheer.merali.org/random/interfaces.patch
it cant be fixed upstream in 0.8 cycle due to api breakage
Committed to cvs, thanks