GNOME Bugzilla – Bug 685490
audioencoder: don't require base class to implement to start vfunc
Last modified: 2012-10-04 13:03:31 UTC
Created attachment 225799 [details] [review] audioencoder: don't require base class to implement to start vfunc The start vfunc is documented as optional.
Thanks, pushed: commit 795d366a0cb97285ab6cceef04a3acf995c1f3da Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Thu Oct 4 14:05:13 2012 +0200 audioencoder: don't fail if the start vfunc is not implemented Fix behaviour to match documentation and decoder class behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=685490
Created attachment 225801 [details] [review] audioencoder: don't require the base class to implement to stop vfunc And the same for the stop vfunc :)
Thanks, but I fixed this differently now (and before I saw your patch - I said on IRC I'd fix it): commit cdb22274e634644e3d42303e6c09042cc940a9c1 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Thu Oct 4 13:40:32 2012 +0100 audioencoder: make stop() vfunc also optional Just change default value, since we also don't want to fail if we want to deactivate and aren't active or want to activate and are already active. https://bugzilla.gnome.org/show_bug.cgi?id=685490