Allow registering as static plugin with the GStreamer SDK API
This commit is contained in:
parent
b7a923234c
commit
2eff8bf82d
@ -2536,9 +2536,18 @@ plugin_init (GstPlugin * plugin)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef GST_PLUGIN_DEFINE2
|
||||||
|
GST_PLUGIN_DEFINE2 (GST_VERSION_MAJOR,
|
||||||
|
GST_VERSION_MINOR,
|
||||||
|
androidmediacodec,
|
||||||
|
"Android MediaCodec plugin",
|
||||||
|
plugin_init,
|
||||||
|
PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
||||||
|
#else
|
||||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||||
GST_VERSION_MINOR,
|
GST_VERSION_MINOR,
|
||||||
"androidmediacodec",
|
"androidmediacodec",
|
||||||
"",
|
"Android MediaCodec plugin",
|
||||||
plugin_init,
|
plugin_init,
|
||||||
PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user