[gstreamer-bugs] [Bug 574288] New: [dshowvideosink] mingw compile patch
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Mar 5 09:35:23 PST 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=574288
GStreamer | gst-plugins-bad | Ver: git
Summary: [dshowvideosink] mingw compile patch
Product: GStreamer
Version: git
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: lazyt at gmx.net
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
dshowvideosink doesn't compile under mingw. the following patch fixed this for
me:
--- dshowvideosink.cpp.org 2009-03-02 22:30:31.000000000 +0100
+++ dshowvideosink.cpp 2009-03-04 20:58:16.000000000 +0100
@@ -1602,8 +1602,8 @@
}
/* Plugin entry point */
-extern "C" static gboolean
-plugin_init (GstPlugin * plugin)
+extern "C" {
+static gboolean plugin_init (GstPlugin * plugin)
{
/* PRIMARY: this is the best videosink to use on windows */
if (!gst_element_register (plugin, "dshowvideosink",
@@ -1612,9 +1612,12 @@
return TRUE;
}
+}
-extern "C" GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+extern "C" {
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"dshowsinkwrapper",
"DirectShow sink wrapper plugin",
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
+}
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574288.
More information about the Gstreamer-bugs
mailing list