GNOME Bugzilla – Bug 667284
registry: add missing #ifndef guard
Last modified: 2012-02-04 15:53:35 UTC
Created attachment 204600 [details] [review] patch __registry_reuse_plugin_scanner is only defined when GST_DISABLE_REGISTRY is not
This looks formally correct, but as I see it none of the surrounding code should be compiled either if GST_DISABLE_REGISTRY is defined. (Out of curiosity: are you guys using this, or is this patch the result of a source code validation tool of some sort?)
That one was simply a case of GST_DISABLE_REGISTRY being defined for Android and iOS builds, and then failing to compile because that was not defined.
Fair enough. I think there's more to do here, but it fixes the build, so let's put it in. Thanks for the patch! commit 609e618e70bf51bab6fe970b1774da8d1a8f8719 Author: Havard Graff <havard.graff@tandberg.com> Date: Wed Jan 4 17:10:15 2012 +0100 registry: fix compilation with --disable-registry __registry_reuse_plugin_scanner is only defined when GST_DISABLE_REGISTRY is not defined. gstregistry.c: In function 'gst_registry_scan_plugin_file': gstregistry.c:1131:8: error: '__registry_reuse_plugin_scanner' undeclared (first use in this function) https://bugzilla.gnome.org/show_bug.cgi?id=667284