summaryrefslogtreecommitdiff
path: root/gst/fieldanalysis/gstfieldanalysis.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2020-05-31 10:18:00 +0300
committerThibault Saunier <tsaunier@igalia.com>2020-06-04 13:33:16 -0400
commit74f2f733be1516fae39f222a8f874478b93eb34f (patch)
tree3490a653e7d28bb7491f2df37e386e9c3e9b2b3e /gst/fieldanalysis/gstfieldanalysis.c
parentb98712c44a4202dbdf2ac12aeb4efd9dceb943bc (diff)
downloadgstreamer-plugins-bad-74f2f733be1516fae39f222a8f874478b93eb34f.tar.gz
plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types
Diffstat (limited to 'gst/fieldanalysis/gstfieldanalysis.c')
-rw-r--r--gst/fieldanalysis/gstfieldanalysis.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c
index 12461cc73..d3f802264 100644
--- a/gst/fieldanalysis/gstfieldanalysis.c
+++ b/gst/fieldanalysis/gstfieldanalysis.c
@@ -287,6 +287,9 @@ gst_field_analysis_class_init (GstFieldAnalysisClass * klass)
gst_element_class_add_static_pad_template (gstelement_class, &src_factory);
gst_element_class_add_static_pad_template (gstelement_class, &sink_factory);
+ gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_COMB_METHOD);
+ gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FIELD_METRIC);
+ gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FRAME_METRIC);
}
static gfloat same_parity_sad (GstFieldAnalysis * filter,