|
From: | Nikos Chantziaras |
Subject: | Re: [Mingw-cross-env-list] Static GStreamer plugins aren't loaded |
Date: | Wed, 05 Jun 2013 23:26:00 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
On 05/06/13 19:23, Nikos Chantziaras wrote:
[...] And then also manually declare and register every needed plugin in the code of the application: // Must be done at global file scope, since this results in a function // prototype being declared. GST_PLUGIN_STATIC_DECLARE(coreelements);
Actually, that won't work in C++ code. One has to do: extern "C" { GST_PLUGIN_STATIC_DECLARE(coreelements); } or else the linker searches for a C++-mangled function, which it can't find.
[Prev in Thread] | Current Thread | [Next in Thread] |