summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@gmail.com>2009-09-07 15:12:55 +0200
committerJulien Isorce <julien.isorce@gmail.com>2009-09-07 15:12:55 +0200
commit01bbe0315f7d42ac5f53c318cd7330618270317f (patch)
tree2a163ea3e37195aba0fec9dc51925aa27cf602e7
parent0518509f0ad73a00de7d50642beb879810da09e8 (diff)
Revert "dshowsrcwrapper: remove unused extern C"
This reverts commit d3c88d637d7e7d60f1437ccd3dfc23b37e2a320e. Reverting this since the entry point isn't found because of C++ build.
-rw-r--r--sys/dshowsrcwrapper/gstdshowsrcwrapper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dshowsrcwrapper/gstdshowsrcwrapper.cpp b/sys/dshowsrcwrapper/gstdshowsrcwrapper.cpp
index c9a980fa3..9acfc344e 100644
--- a/sys/dshowsrcwrapper/gstdshowsrcwrapper.cpp
+++ b/sys/dshowsrcwrapper/gstdshowsrcwrapper.cpp
@@ -38,8 +38,12 @@ plugin_init (GstPlugin * plugin)
return TRUE;
}
+extern "C" {
+
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"dshowsrcwrapper",
"DirectShow sources wrapper plugin",
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
+
+}