diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-02-17 11:31:35 +0100 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-03-23 14:19:16 +0000 |
commit | bbe3eecd3f5469f5728f90989a59e033c456c2ea (patch) | |
tree | 89fea20953384923ba1fd2bd77670cd73bb33bb6 /ext/closedcaption/gstcccombiner.c | |
parent | 8b9c75eeccaa4c8e3340f379ce9067cf56698a29 (diff) | |
download | gstreamer-plugins-bad-bbe3eecd3f5469f5728f90989a59e033c456c2ea.tar.gz |
closedcaption: 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/closedcaption/gstcccombiner.c')
-rw-r--r-- | ext/closedcaption/gstcccombiner.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/closedcaption/gstcccombiner.c b/ext/closedcaption/gstcccombiner.c index 5e47318f5..079c77cee 100644 --- a/ext/closedcaption/gstcccombiner.c +++ b/ext/closedcaption/gstcccombiner.c @@ -51,8 +51,10 @@ static GstStaticPadTemplate captiontemplate = ("closedcaption/x-cea-608,format={ (string) raw, (string) s334-1a}; " "closedcaption/x-cea-708,format={ (string) cc_data, (string) cdp }")); -G_DEFINE_TYPE (GstCCCombiner, gst_cc_combiner, GST_TYPE_AGGREGATOR); #define parent_class gst_cc_combiner_parent_class +G_DEFINE_TYPE (GstCCCombiner, gst_cc_combiner, GST_TYPE_AGGREGATOR); +GST_ELEMENT_REGISTER_DEFINE (cccombiner, "cccombiner", + GST_RANK_NONE, GST_TYPE_CCCOMBINER); enum { |