summaryrefslogtreecommitdiff
path: root/gst/debugutils/progressreport.c
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2021-02-15 14:55:15 +0100
committerStéphane Cerveau <scerveau@collabora.com>2021-03-29 12:45:22 +0200
commit6823afde014989ac8d7c513b11c28532b989c503 (patch)
treefb55426ef00ccc1f0d6a67bffd6a408a5e4e1942 /gst/debugutils/progressreport.c
parent434955e0ffedaec3190b76bad1e8beee2e030104 (diff)
debugutils: 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-good/-/merge_requests/876>
Diffstat (limited to 'gst/debugutils/progressreport.c')
-rw-r--r--gst/debugutils/progressreport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/debugutils/progressreport.c b/gst/debugutils/progressreport.c
index 7de0bfb90..8b2d2cfbc 100644
--- a/gst/debugutils/progressreport.c
+++ b/gst/debugutils/progressreport.c
@@ -73,6 +73,7 @@
#include <math.h>
#include <time.h>
+#include "gstdebugutilselements.h"
#include "progressreport.h"
@@ -117,6 +118,8 @@ static gboolean gst_progress_report_stop (GstBaseTransform * trans);
#define gst_progress_report_parent_class parent_class
G_DEFINE_TYPE (GstProgressReport, gst_progress_report, GST_TYPE_BASE_TRANSFORM);
+GST_ELEMENT_REGISTER_DEFINE (progressreport, "progressreport",
+ GST_RANK_NONE, gst_progress_report_get_type ());
static void
gst_progress_report_finalize (GObject * obj)