GNOME Bugzilla – Bug 578562
dshowdecwrapper missing check for GST_DISABLE_GST_DEBUG
Last modified: 2009-04-10 17:09:18 UTC
Compile error when GST_DISABLE_GST_DEBUG is defined. See attached patch for fix.
Created attachment 132437 [details] [review] Possible fix
I think it would be better to just remove the if (!dshowaudiodec_debug) { which shouldn't be needed since the macro does this already. It looks like we can remove these CATEGORY_INIT lines in _class_init completely anyway though, because there's already a GST_DEBUG_CATEGORY_INIT in dshow_adec_register() etc.
Sounds fine to me.
Should be fixed now - thanks for the bug report and patch! commit 2b1fcc75a740d2caa7774658eff1e6161d408c20 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Apr 10 18:00:06 2009 +0100 dshowdec: fix compilation with the debugging system disabled One GST_DEBUG_CATEGORY_INIT should be enough anyway. Fixes #578562 (spotted by David Hoyt).