mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Allow registering as static plugin with the GStreamer SDK API
This commit is contained in:
parent
b7a923234c
commit
2eff8bf82d
1 changed files with 10 additions and 1 deletions
|
@ -2536,9 +2536,18 @@ plugin_init (GstPlugin * plugin)
|
|||
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_VERSION_MINOR,
|
||||
"androidmediacodec",
|
||||
"",
|
||||
"Android MediaCodec plugin",
|
||||
plugin_init,
|
||||
PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue