mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
plugins: uddate gst_type_mark_as_plugin_api() calls
This commit is contained in:
parent
a38ac7a865
commit
a048ce81d4
54 changed files with 104 additions and 102 deletions
|
@ -398,9 +398,9 @@ gst_av1_enc_class_init (GstAV1EncClass * klass)
|
|||
"can enable parallel encoding",
|
||||
0, 6, DEFAULT_TILE_ROWS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_END_USAGE_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RESIZE_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SUPERRES_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_END_USAGE_MODE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RESIZE_MODE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SUPERRES_MODE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -285,7 +285,7 @@ gst_base_cea_cc_overlay_class_init (GstCeaCcOverlayClass * klass)
|
|||
"Chengjun Wang <cjun.wang@samsung.com>");
|
||||
gst_cea708_decoder_init_debug ();
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CC_OVERLAY_WIN_H_POS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CC_OVERLAY_WIN_H_POS, 0);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -226,8 +226,8 @@ gst_lcms_class_init (GstLcmsClass * klass)
|
|||
GST_DEBUG_FUNCPTR (gst_lcms_transform_frame_ip);
|
||||
vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_lcms_transform_frame);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_LCMS_INTENT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_LCMS_LOOKUP_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_LCMS_INTENT, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_LCMS_LOOKUP_METHOD, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -490,7 +490,7 @@ gst_curl_http_src_class_init (GstCurlHttpSrcClass * klass)
|
|||
"Receiver data as a client over a network via HTTP using cURL",
|
||||
"Sam Hurst <samuelh@rd.bbc.co.uk>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CURL_HTTP_VERSION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CURL_HTTP_VERSION, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -175,7 +175,7 @@ gst_curl_ssh_sink_class_init (GstCurlSshSinkClass * klass)
|
|||
"Accept an unknown remote public host key",
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CURL_SSH_SINK_AUTH_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CURL_SSH_SINK_AUTH_TYPE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -445,7 +445,7 @@ gst_dash_sink_class_init (GstDashSinkClass * klass)
|
|||
G_MAXUINT64, DEFAULT_MPD_PERIOD_DURATION,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DASH_SINK_MUXER);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DASH_SINK_MUXER, 0);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -183,7 +183,7 @@ gst_dc1394_src_class_init (GstDC1394SrcClass * klass)
|
|||
|
||||
pushsrc_class->create = GST_DEBUG_FUNCPTR (gst_dc1394_src_create);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DC1394_ISO_SPEED);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DC1394_ISO_SPEED, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
gst_type_mark_as_plugin_api (GST_DTLS_TYPE_CONNECTION_STATE);
|
||||
gst_type_mark_as_plugin_api (GST_DTLS_TYPE_CONNECTION_STATE, 0);
|
||||
|
||||
return gst_element_register (plugin, "dtlsenc", GST_RANK_NONE,
|
||||
GST_TYPE_DTLS_ENC)
|
||||
|
|
|
@ -503,13 +503,13 @@ GstMpeg2EncOptions::initProperties (GObjectClass * klass)
|
|||
FALSE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
#endif
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_ASPECT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FORMAT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FRAMERATE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_INTERLACE_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_VIDEO_NORM);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_PLAYBACK_FIELD_ORDER);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_QUANTISATION_MATRIX);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_ASPECT, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FORMAT, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_FRAMERATE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_INTERLACE_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_VIDEO_NORM, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_PLAYBACK_FIELD_ORDER, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPEG2ENC_QUANTISATION_MATRIX, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -162,7 +162,7 @@ GstMplexJob::initProperties (GObjectClass * klass)
|
|||
256, 16384, 2048,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPLEX_FORMAT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_MPLEX_FORMAT, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -289,7 +289,7 @@ gst_camera_calibrate_class_init (GstCameraCalibrateClass * klass)
|
|||
templ = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, caps);
|
||||
gst_element_class_add_pad_template (element_class, templ);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CAMERA_CALIBRATION_PATTERN);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CAMERA_CALIBRATION_PATTERN, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -234,7 +234,7 @@ gst_cv_smooth_class_init (GstCvSmoothClass * klass)
|
|||
gst_element_class_add_pad_template (element_class, templ);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CV_SMOOTH_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_CV_SMOOTH_TYPE, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -256,8 +256,8 @@ gst_dewarp_class_init (GstDewarpClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_DISPLAY_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_INTERPOLATION_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_DISPLAY_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DEWARP_INTERPOLATION_MODE, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -233,7 +233,7 @@ gst_disparity_class_init (GstDisparityClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DISPARITY_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DISPARITY_METHOD, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -232,7 +232,7 @@ gst_face_blur_class_init (GstFaceBlurClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_BLUR_FLAGS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_BLUR_FLAGS, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -357,8 +357,8 @@ gst_face_detect_class_init (GstFaceDetectClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_DETECT_FLAGS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FACE_DETECT_UPDATES);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENCV_FACE_DETECT_FLAGS, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_FACE_DETECT_UPDATES, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -168,7 +168,7 @@ gst_retinex_class_init (GstRetinexClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RETINEX_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RETINEX_METHOD, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -226,7 +226,7 @@ gst_segmentation_class_init (GstSegmentationClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SEGMENTATION_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SEGMENTATION_METHOD, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -165,7 +165,7 @@ gst_skin_detect_class_init (GstSkinDetectClass * klass)
|
|||
|
||||
gstopencvbasefilter_class->cv_set_caps = gst_skin_detect_set_caps;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SKIN_DETECT_METHOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SKIN_DETECT_METHOD, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -366,11 +366,11 @@ gst_openh264enc_class_init (GstOpenh264EncClass * klass)
|
|||
"Complexity", GST_TYPE_OPENH264ENC_COMPLEXITY, DEFAULT_COMPLEXITY,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_COMPLEXITY);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_DEBLOCKING_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_SLICE_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RC_MODES);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_USAGE_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_COMPLEXITY, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_DEBLOCKING_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_OPENH264ENC_SLICE_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_RC_MODES, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_USAGE_TYPE, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -219,7 +219,7 @@ gst_openjpeg_enc_class_init (GstOpenJPEGEncClass * klass)
|
|||
GST_DEBUG_CATEGORY_INIT (gst_openjpeg_enc_debug, "openjpegenc", 0,
|
||||
"OpenJPEG Encoder");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_OPENJPEG_ENC_TYPE_PROGRESSION_ORDER);
|
||||
gst_type_mark_as_plugin_api (GST_OPENJPEG_ENC_TYPE_PROGRESSION_ORDER, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -309,8 +309,8 @@ plugin_init (GstPlugin * plugin)
|
|||
if (!gst_srtp_dec_plugin_init (plugin))
|
||||
return FALSE;
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SRTP_AUTH_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SRTP_CIPHER_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SRTP_AUTH_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_SRTP_CIPHER_TYPE, 0);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ gst_voamrwbenc_class_init (GstVoAmrWbEncClass * klass)
|
|||
GST_DEBUG_CATEGORY_INIT (gst_voamrwbenc_debug, "voamrwbenc", 0,
|
||||
"voamrwb encoder");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_VOAMRWBENC_BANDMODE_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_VOAMRWBENC_BANDMODE_TYPE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -158,7 +158,7 @@ gst_webp_enc_class_init (GstWebpEncClass * klass)
|
|||
GST_DEBUG_CATEGORY_INIT (webpenc_debug, "webpenc", 0,
|
||||
"WEBP encoding element");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_WEBP_ENC_PRESET_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_WEBP_ENC_PRESET_TYPE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -6454,8 +6454,8 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
|
|||
G_CALLBACK (gst_webrtc_bin_create_data_channel), NULL, NULL,
|
||||
NULL, GST_TYPE_WEBRTC_DATA_CHANNEL, 2, G_TYPE_STRING, GST_TYPE_STRUCTURE);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_BIN_PAD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ICE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_BIN_PAD, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ICE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -1113,10 +1113,10 @@ gst_webrtc_dsp_class_init (GstWebrtcDspClass * klass)
|
|||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
|
||||
G_PARAM_CONSTRUCT)));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_GAIN_CONTROL_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_NOISE_SUPPRESSION_LEVEL);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ECHO_SUPPRESSION_LEVEL);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_VOICE_DETECTION_LIKELIHOOD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_GAIN_CONTROL_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_NOISE_SUPPRESSION_LEVEL, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_ECHO_SUPPRESSION_LEVEL, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_WEBRTC_VOICE_DETECTION_LIKELIHOOD, (GstPluginAPIFlags) 0);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -543,9 +543,9 @@ gst_x265_enc_class_init (GstX265EncClass * klass)
|
|||
gst_element_class_add_pad_template (element_class, sink_templ);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_X265_ENC_LOG_LEVEL_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_X265_ENC_SPEED_PRESET_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_X265_ENC_TUNE_TYPE);
|
||||
gst_type_mark_as_plugin_api (GST_X265_ENC_LOG_LEVEL_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_X265_ENC_SPEED_PRESET_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_X265_ENC_TUNE_TYPE, 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -458,8 +458,9 @@ gst_nonstream_audio_decoder_class_init (GstNonstreamAudioDecoderClass * klass)
|
|||
DEFAULT_OUTPUT_MODE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)
|
||||
);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_OUTPUT_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_SUBSONG_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_OUTPUT_MODE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_SUBSONG_MODE,
|
||||
0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2055,14 +2055,14 @@ plugin_init (GstPlugin * plugin)
|
|||
gst_device_provider_register (plugin, "decklinkdeviceprovider",
|
||||
GST_RANK_PRIMARY, GST_TYPE_DECKLINK_DEVICE_PROVIDER);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CHANNELS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CONNECTION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_DUPLEX_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_KEYER_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_TIMECODE_FORMAT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_VIDEO_FORMAT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_CONNECTION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CHANNELS, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_AUDIO_CONNECTION, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_DUPLEX_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_KEYER_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_MODE, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_TIMECODE_FORMAT, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_VIDEO_FORMAT, (GstPluginAPIFlags) 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DECKLINK_CONNECTION, (GstPluginAPIFlags) 0);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -1012,17 +1012,17 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
|||
G_STRUCT_OFFSET (GstDvbSrcClass, do_tune), NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_BANDWIDTH);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_CODE_RATE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_DELSYS);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_GUARD);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_HIERARCHY);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_INTERLEAVING);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_INVERSION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_MODULATION);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_PILOT);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_ROLLOFF);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_TRANSMISSION_MODE);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_BANDWIDTH, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_CODE_RATE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_DELSYS, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_GUARD, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_HIERARCHY, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_INTERLEAVING, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_INVERSION, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_MODULATION, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_PILOT, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_ROLLOFF, 0);
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_DVBSRC_TRANSMISSION_MODE, 0);
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -460,10 +460,10 @@ gst_uvc_h264_src_class_init (GstUvcH264SrcClass * klass)
|
|||
G_TYPE_BOOLEAN, 4, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_POINTER,
|
||||
G_TYPE_POINTER, 0);
|
||||
|
||||
gst_type_mark_as_plugin_api (UVC_H264_ENTROPY_TYPE);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_RATECONTROL_TYPE);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_SLICEMODE_TYPE);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_USAGETYPE_TYPE);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_ENTROPY_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_RATECONTROL_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_SLICEMODE_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (UVC_H264_USAGETYPE_TYPE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue