Skip to content
Permalink
Browse files
subparse: allow per feature registration
Split plugin into features including
elements and device providers which
can be indiviually registered during
a static build.

More details here:
i
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-base/-/merge_requests/900>
  • Loading branch information
dabrain34 authored and GStreamer Merge Bot committed Dec 10, 2020
1 parent d58cf8b commit b6f8d0544c1a42304563b52a687864314dbb4a49
Showing with 553 additions and 423 deletions.
  1. +6 −0 gst/subparse/gstssaparse.c
  2. +15 −405 gst/subparse/gstsubparse.c
  3. +1 −18 gst/subparse/gstsubparse.h
  4. +426 −0 gst/subparse/gstsubparseelement.c
  5. +58 −0 gst/subparse/gstsubparseelements.h
  6. +45 −0 gst/subparse/gstsubparseplugin.c
  7. +2 −0 gst/subparse/meson.build
@@ -28,8 +28,11 @@
#include <string.h>

#include "gstssaparse.h"
#include "gstsubparseelements.h"


GST_DEBUG_CATEGORY_STATIC (ssa_parse_debug);
#undef GST_CAT_DEFAULT
#define GST_CAT_DEFAULT ssa_parse_debug

static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
@@ -46,6 +49,9 @@ static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",

#define gst_ssa_parse_parent_class parent_class
G_DEFINE_TYPE (GstSsaParse, gst_ssa_parse, GST_TYPE_ELEMENT);
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (ssaparse, "ssaparse",
GST_RANK_PRIMARY, GST_TYPE_SSA_PARSE, sub_parse_element_init (plugin));


static GstStateChangeReturn gst_ssa_parse_change_state (GstElement *
element, GstStateChange transition);

0 comments on commit b6f8d05

Please sign in to comment.