summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-06-06 00:40:42 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2020-06-06 00:40:42 +0200
commita048ce81d4276641a5c84b17cbfdfaf55f0d723e (patch)
treea7de49489edac58037ba5eb3910f46f9c9032e86 /gst
parenta38ac7a865f651bd0ebc3749635d2388f7e63f40 (diff)
downloadgstreamer-plugins-bad-a048ce81d4276641a5c84b17cbfdfaf55f0d723e.tar.gz
plugins: uddate gst_type_mark_as_plugin_api() calls
Diffstat (limited to 'gst')
-rw-r--r--gst/adpcmenc/adpcmenc.c2
-rw-r--r--gst/audiomixmatrix/gstaudiomixmatrix.c2
-rw-r--r--gst/audiovisualizers/gstspacescope.c2
-rw-r--r--gst/audiovisualizers/gstwavescope.c2
-rw-r--r--gst/camerabin2/gstcamerabin2.c4
-rw-r--r--gst/coloreffects/gstcoloreffects.c2
-rw-r--r--gst/debugutils/gstchecksumsink.c2
-rw-r--r--gst/debugutils/gstclockselect.c2
-rw-r--r--gst/debugutils/gstcompare.c2
-rw-r--r--gst/debugutils/gstfakevideosink.c3
-rw-r--r--gst/fieldanalysis/gstfieldanalysis.c6
-rw-r--r--gst/geometrictransform/gstgeometrictransform.c2
-rw-r--r--gst/geometrictransform/gstmirror.c2
-rw-r--r--gst/interlace/gstinterlace.c2
-rw-r--r--gst/mpegtsmux/gstbasetsmux.c2
-rw-r--r--gst/mxf/mxfmux.c2
-rw-r--r--gst/netsim/gstnetsim.c2
-rw-r--r--gst/rawparse/gstaudioparse.c2
-rw-r--r--gst/rist/gstristsink.c2
-rw-r--r--gst/rtmp2/gstrtmp2.c4
-rw-r--r--gst/timecode/gstavwait.c2
-rw-r--r--gst/timecode/gsttimecodestamper.c4
-rw-r--r--gst/yadif/gstyadif.c2
23 files changed, 29 insertions, 28 deletions
diff --git a/gst/adpcmenc/adpcmenc.c b/gst/adpcmenc/adpcmenc.c
index 0a603dfd9..52962e408 100644
--- a/gst/adpcmenc/adpcmenc.c
+++ b/gst/adpcmenc/adpcmenc.c
@@ -464,7 +464,7 @@ adpcmenc_class_init (ADPCMEncClass * klass)
DEFAULT_ADPCM_BLOCK_SIZE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_type_mark_as_plugin_api (GST_TYPE_ADPCMENC_LAYOUT);
+ gst_type_mark_as_plugin_api (GST_TYPE_ADPCMENC_LAYOUT, 0);
}
static gboolean
diff --git a/gst/audiomixmatrix/gstaudiomixmatrix.c b/gst/audiomixmatrix/gstaudiomixmatrix.c
index 537cfb93b..77b5c92ed 100644
--- a/gst/audiomixmatrix/gstaudiomixmatrix.c
+++ b/gst/audiomixmatrix/gstaudiomixmatrix.c
@@ -217,7 +217,7 @@ gst_audio_mix_matrix_class_init (GstAudioMixMatrixClass * klass)
element_class->change_state =
GST_DEBUG_FUNCPTR (gst_audio_mix_matrix_change_state);
- gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_MIX_MATRIX_MODE);
+ gst_type_mark_as_plugin_api (GST_TYPE_AUDIO_MIX_MATRIX_MODE, 0);
}
static void
diff --git a/gst/audiovisualizers/gstspacescope.c b/gst/audiovisualizers/gstspacescope.c
index 146cff805..b14f7fc62 100644
--- a/gst/audiovisualizers/gstspacescope.c
+++ b/gst/audiovisualizers/gstspacescope.c
@@ -149,7 +149,7 @@ gst_space_scope_class_init (GstSpaceScopeClass * g_class)
GST_TYPE_SPACE_SCOPE_STYLE, STYLE_DOTS,
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_type_mark_as_plugin_api (GST_TYPE_SPACE_SCOPE_STYLE);
+ gst_type_mark_as_plugin_api (GST_TYPE_SPACE_SCOPE_STYLE, 0);
}
static void
diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c
index 917443ec4..f584b6992 100644
--- a/gst/audiovisualizers/gstwavescope.c
+++ b/gst/audiovisualizers/gstwavescope.c
@@ -153,7 +153,7 @@ gst_wave_scope_class_init (GstWaveScopeClass * g_class)
gst_element_class_add_static_pad_template (gstelement_class,
&gst_wave_scope_sink_template);
- gst_type_mark_as_plugin_api (GST_TYPE_WAVE_SCOPE_STYLE);
+ gst_type_mark_as_plugin_api (GST_TYPE_WAVE_SCOPE_STYLE, 0);
}
static void
diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index e375ccf62..9fd03e02d 100644
--- a/gst/camerabin2/gstcamerabin2.c
+++ b/gst/camerabin2/gstcamerabin2.c
@@ -846,8 +846,8 @@ gst_camera_bin_class_init (GstCameraBin2Class * klass)
G_STRUCT_OFFSET (GstCameraBin2Class, stop_capture),
NULL, NULL, NULL, G_TYPE_NONE, 0);
- gst_type_mark_as_plugin_api (GST_TYPE_CAM_FLAGS);
- gst_type_mark_as_plugin_api (GST_TYPE_CAMERABIN_MODE);
+ gst_type_mark_as_plugin_api (GST_TYPE_CAM_FLAGS, 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_CAMERABIN_MODE, 0);
}
static void
diff --git a/gst/coloreffects/gstcoloreffects.c b/gst/coloreffects/gstcoloreffects.c
index 04a88f67a..ecbc3fc4c 100644
--- a/gst/coloreffects/gstcoloreffects.c
+++ b/gst/coloreffects/gstcoloreffects.c
@@ -595,7 +595,7 @@ gst_color_effects_class_init (GstColorEffectsClass * klass)
gst_element_class_add_static_pad_template (element_class,
&gst_color_effects_src_template);
- gst_type_mark_as_plugin_api (GST_TYPE_COLOR_EFFECTS_PRESET);
+ gst_type_mark_as_plugin_api (GST_TYPE_COLOR_EFFECTS_PRESET, 0);
}
static void
diff --git a/gst/debugutils/gstchecksumsink.c b/gst/debugutils/gstchecksumsink.c
index 2521db63b..337fba0f3 100644
--- a/gst/debugutils/gstchecksumsink.c
+++ b/gst/debugutils/gstchecksumsink.c
@@ -101,7 +101,7 @@ gst_checksum_sink_class_init (GstChecksumSinkClass * klass)
"Debug/Sink", "Calculates a checksum for buffers",
"David Schleef <ds@schleef.org>");
- gst_type_mark_as_plugin_api (gst_checksum_sink_hash_get_type ());
+ gst_type_mark_as_plugin_api (gst_checksum_sink_hash_get_type (), 0);
}
static void
diff --git a/gst/debugutils/gstclockselect.c b/gst/debugutils/gstclockselect.c
index 3fa1a045c..759c5a286 100644
--- a/gst/debugutils/gstclockselect.c
+++ b/gst/debugutils/gstclockselect.c
@@ -122,7 +122,7 @@ gst_clock_select_class_init (GstClockSelectClass * klass)
gstelement_class->provide_clock =
GST_DEBUG_FUNCPTR (gst_clock_select_provide_clock);
- gst_type_mark_as_plugin_api (GST_TYPE_CLOCK_SELECT_CLOCK_ID);
+ gst_type_mark_as_plugin_api (GST_TYPE_CLOCK_SELECT_CLOCK_ID, 0);
}
static void
diff --git a/gst/debugutils/gstcompare.c b/gst/debugutils/gstcompare.c
index 0834da62a..196d79b78 100644
--- a/gst/debugutils/gstcompare.c
+++ b/gst/debugutils/gstcompare.c
@@ -177,7 +177,7 @@ gst_compare_class_init (GstCompareClass * klass)
"Filter/Debug", "Compares incoming buffers",
"Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>");
- gst_type_mark_as_plugin_api (GST_COMPARE_METHOD_TYPE);
+ gst_type_mark_as_plugin_api (GST_COMPARE_METHOD_TYPE, 0);
}
static void
diff --git a/gst/debugutils/gstfakevideosink.c b/gst/debugutils/gstfakevideosink.c
index c4948aa8b..3ebc9a360 100644
--- a/gst/debugutils/gstfakevideosink.c
+++ b/gst/debugutils/gstfakevideosink.c
@@ -316,5 +316,6 @@ gst_fake_video_sink_class_init (GstFakeVideoSinkClass * klass)
"Video/Sink", "Fake video display that allows zero-copy",
"Nicolas Dufresne <nicolas.dufresne@collabora.com>");
- gst_type_mark_as_plugin_api (GST_TYPE_FAKE_VIDEO_SINK_ALLOCATION_META_FLAGS);
+ gst_type_mark_as_plugin_api (GST_TYPE_FAKE_VIDEO_SINK_ALLOCATION_META_FLAGS,
+ 0);
}
diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c
index d3f802264..644a91ea1 100644
--- a/gst/fieldanalysis/gstfieldanalysis.c
+++ b/gst/fieldanalysis/gstfieldanalysis.c
@@ -287,9 +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);
+ gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_COMB_METHOD, 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FIELD_METRIC, 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_FIELDANALYSIS_FRAME_METRIC, 0);
}
static gfloat same_parity_sad (GstFieldAnalysis * filter,
diff --git a/gst/geometrictransform/gstgeometrictransform.c b/gst/geometrictransform/gstgeometrictransform.c
index b3f9be506..c9e4f5faf 100644
--- a/gst/geometrictransform/gstgeometrictransform.c
+++ b/gst/geometrictransform/gstgeometrictransform.c
@@ -389,7 +389,7 @@ gst_geometric_transform_class_init (gpointer klass, gpointer class_data)
GST_GT_OFF_EDGES_PIXELS_METHOD_TYPE, DEFAULT_OFF_EDGE_PIXELS,
GST_PARAM_CONTROLLABLE | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_type_mark_as_plugin_api (GST_GT_OFF_EDGES_PIXELS_METHOD_TYPE);
+ gst_type_mark_as_plugin_api (GST_GT_OFF_EDGES_PIXELS_METHOD_TYPE, 0);
}
static void
diff --git a/gst/geometrictransform/gstmirror.c b/gst/geometrictransform/gstmirror.c
index 53edb6698..e7b29c1a7 100644
--- a/gst/geometrictransform/gstmirror.c
+++ b/gst/geometrictransform/gstmirror.c
@@ -227,7 +227,7 @@ gst_mirror_class_init (GstMirrorClass * klass)
gstgt_class->map_func = mirror_map;
- gst_type_mark_as_plugin_api (GST_TYPE_MIRROR_MODE);
+ gst_type_mark_as_plugin_api (GST_TYPE_MIRROR_MODE, 0);
}
static void
diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c
index 4c654669b..635a99b9c 100644
--- a/gst/interlace/gstinterlace.c
+++ b/gst/interlace/gstinterlace.c
@@ -260,7 +260,7 @@ gst_interlace_class_init (GstInterlaceClass * klass)
element_class->change_state = gst_interlace_change_state;
- gst_type_mark_as_plugin_api (GST_INTERLACE_PATTERN);
+ gst_type_mark_as_plugin_api (GST_INTERLACE_PATTERN, 0);
}
static void
diff --git a/gst/mpegtsmux/gstbasetsmux.c b/gst/mpegtsmux/gstbasetsmux.c
index 63eeb15a2..4ed2fae9e 100644
--- a/gst/mpegtsmux/gstbasetsmux.c
+++ b/gst/mpegtsmux/gstbasetsmux.c
@@ -1991,7 +1991,7 @@ gst_base_ts_mux_class_init (GstBaseTsMuxClass * klass)
gst_element_class_add_static_pad_template_with_gtype (gstelement_class,
&gst_base_ts_mux_src_factory, GST_TYPE_AGGREGATOR_PAD);
- gst_type_mark_as_plugin_api (GST_TYPE_BASE_TS_MUX_PAD);
+ gst_type_mark_as_plugin_api (GST_TYPE_BASE_TS_MUX_PAD, 0);
}
static void
diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c
index eafc81965..1fb9c6fe6 100644
--- a/gst/mxf/mxfmux.c
+++ b/gst/mxf/mxfmux.c
@@ -186,7 +186,7 @@ gst_mxf_mux_class_init (GstMXFMuxClass * klass)
"Muxes video/audio streams into a MXF stream",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
- gst_type_mark_as_plugin_api (GST_TYPE_MXF_MUX_PAD);
+ gst_type_mark_as_plugin_api (GST_TYPE_MXF_MUX_PAD, 0);
}
static void
diff --git a/gst/netsim/gstnetsim.c b/gst/netsim/gstnetsim.c
index af436e371..e0771b83e 100644
--- a/gst/netsim/gstnetsim.c
+++ b/gst/netsim/gstnetsim.c
@@ -757,7 +757,7 @@ gst_net_sim_class_init (GstNetSimClass * klass)
GST_DEBUG_CATEGORY_INIT (netsim_debug, "netsim", 0, "Network simulator");
- gst_type_mark_as_plugin_api (distribution_get_type ());
+ gst_type_mark_as_plugin_api (distribution_get_type (), 0);
}
static gboolean
diff --git a/gst/rawparse/gstaudioparse.c b/gst/rawparse/gstaudioparse.c
index 3f1c4ebd0..6e4c647bd 100644
--- a/gst/rawparse/gstaudioparse.c
+++ b/gst/rawparse/gstaudioparse.c
@@ -185,7 +185,7 @@ gst_audio_parse_class_init (GstAudioParseClass * klass)
GST_DEBUG_CATEGORY_INIT (gst_audio_parse_debug, "audioparse", 0,
"audioparse element");
- gst_type_mark_as_plugin_api (GST_AUDIO_PARSE_FORMAT);
+ gst_type_mark_as_plugin_api (GST_AUDIO_PARSE_FORMAT, 0);
}
static void
diff --git a/gst/rist/gstristsink.c b/gst/rist/gstristsink.c
index 4440e9856..3f649b087 100644
--- a/gst/rist/gstristsink.c
+++ b/gst/rist/gstristsink.c
@@ -1423,5 +1423,5 @@ gst_rist_sink_class_init (GstRistSinkClass * klass)
"Add sequence number extension to packets.", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT));
- gst_type_mark_as_plugin_api (gst_rist_bonding_method_get_type ());
+ gst_type_mark_as_plugin_api (gst_rist_bonding_method_get_type (), 0);
}
diff --git a/gst/rtmp2/gstrtmp2.c b/gst/rtmp2/gstrtmp2.c
index 999b26508..144d391c0 100644
--- a/gst/rtmp2/gstrtmp2.c
+++ b/gst/rtmp2/gstrtmp2.c
@@ -36,8 +36,8 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "rtmp2sink", GST_RANK_PRIMARY + 1,
GST_TYPE_RTMP2_SINK);
- gst_type_mark_as_plugin_api (GST_TYPE_RTMP_SCHEME);
- gst_type_mark_as_plugin_api (GST_TYPE_RTMP_AUTHMOD);
+ gst_type_mark_as_plugin_api (GST_TYPE_RTMP_SCHEME, 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_RTMP_AUTHMOD, 0);
return TRUE;
}
diff --git a/gst/timecode/gstavwait.c b/gst/timecode/gstavwait.c
index 59bf7f2c0..1b6bc2fd0 100644
--- a/gst/timecode/gstavwait.c
+++ b/gst/timecode/gstavwait.c
@@ -231,7 +231,7 @@ gst_avwait_class_init (GstAvWaitClass * klass)
gst_element_class_add_static_pad_template (gstelement_class,
&video_sink_template);
- gst_type_mark_as_plugin_api (GST_TYPE_AVWAIT_MODE);
+ gst_type_mark_as_plugin_api (GST_TYPE_AVWAIT_MODE, 0);
}
static void
diff --git a/gst/timecode/gsttimecodestamper.c b/gst/timecode/gsttimecodestamper.c
index 4ac015f23..ebb2300c2 100644
--- a/gst/timecode/gsttimecodestamper.c
+++ b/gst/timecode/gsttimecodestamper.c
@@ -332,8 +332,8 @@ gst_timecodestamper_class_init (GstTimeCodeStamperClass * klass)
trans_class->transform_ip =
GST_DEBUG_FUNCPTR (gst_timecodestamper_transform_ip);
- gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SOURCE);
- gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SET);
+ gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SOURCE, 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_TIME_CODE_STAMPER_SET, 0);
}
static void
diff --git a/gst/yadif/gstyadif.c b/gst/yadif/gstyadif.c
index e64915418..c055b556e 100644
--- a/gst/yadif/gstyadif.c
+++ b/gst/yadif/gstyadif.c
@@ -160,7 +160,7 @@ gst_yadif_class_init (GstYadifClass * klass)
DEFAULT_MODE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
- gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_MODES);
+ gst_type_mark_as_plugin_api (GST_TYPE_DEINTERLACE_MODES, 0);
}
static void