summaryrefslogtreecommitdiff
path: root/ext/ttml/gstttmlelements.h
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2021-02-24 13:07:30 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-03-23 14:19:17 +0000
commit0b07d970fe06ec975a4ef0da88d06b555184d7da (patch)
tree4493ee99a7bcc890e65a7718ba2b406031b69a67 /ext/ttml/gstttmlelements.h
parent4f16edf0d07e5fd42221d5e3727c6d5aa548cdb7 (diff)
downloadgstreamer-plugins-bad-0b07d970fe06ec975a4ef0da88d06b555184d7da.tar.gz
ttml: allow per feature registration
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
Diffstat (limited to 'ext/ttml/gstttmlelements.h')
-rw-r--r--ext/ttml/gstttmlelements.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ext/ttml/gstttmlelements.h b/ext/ttml/gstttmlelements.h
new file mode 100644
index 000000000..000d1ce7e
--- /dev/null
+++ b/ext/ttml/gstttmlelements.h
@@ -0,0 +1,35 @@
+/* GStreamer
+ * Copyright (C) <2020> The GStreamer Contributors.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+
+#ifndef __GST_TTML_ELEMENTS_H__
+#define __GST_TTML_ELEMENTS_H__
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <gst/gst.h>
+
+void ttml_element_init (GstPlugin * plugin);
+
+GST_ELEMENT_REGISTER_DECLARE (ttmlparse);
+GST_ELEMENT_REGISTER_DECLARE (ttmlrender);
+
+#endif /* __GST_TTML_ELEMENTS_H__ */