summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-03-04 15:35:21 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-03-04 15:35:21 +0100
commit9840c619615058726e59056715d2dfa3e307c552 (patch)
treef0553f4bf1bd173ce49186ca72ce77821983a39f
parent389deb215f7d7199abe3f60c6a07329150d7b8a9 (diff)
omx: add a workaround to build against the GStreamer SDK
-rw-r--r--omx/gstomx.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 62a16ee..deae958 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -2696,10 +2696,18 @@ done:
return ret;
}
-
+#ifdef GST_PLUGIN_DEFINE2
+GST_PLUGIN_DEFINE2 (GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ openmax,
+ "GStreamer OpenMAX Plug-ins",
+ plugin_init,
+ PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
+#else
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"openmax",
"GStreamer OpenMAX Plug-ins",
plugin_init,
PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
+#endif