Commit e6e377c7 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸

plugins: uddate gst_type_mark_as_plugin_api() calls

parent 854fdcb6
Pipeline #156929 waiting for manual action with stages
in 13 seconds
......@@ -1226,7 +1226,7 @@ gst_vaapi_display_class_init (GstVaapiDisplayClass * klass)
"The display contrast value", 0.0, 2.0, 1.0, G_PARAM_READWRITE);
g_object_class_install_properties (object_class, N_PROPERTIES, g_properties);
gst_type_mark_as_plugin_api (gst_vaapi_display_type_get_type ());
gst_type_mark_as_plugin_api (gst_vaapi_display_type_get_type (), 0);
}
/**
......
......@@ -4046,11 +4046,12 @@ gst_vaapi_encoder_h264_class_init (GstVaapiEncoderH264Class * klass)
g_object_class_install_properties (object_class, ENCODER_H264_N_PROPERTIES,
properties);
gst_type_mark_as_plugin_api (GST_VAAPI_TYPE_ENCODER_MBBRC);
gst_type_mark_as_plugin_api (gst_vaapi_encoder_h264_prediction_type ());
gst_type_mark_as_plugin_api (g_class_data.rate_control_get_type ());
gst_type_mark_as_plugin_api (g_class_data.encoder_tune_get_type ());
gst_type_mark_as_plugin_api (gst_vaapi_encoder_h264_compliance_mode_type ());
gst_type_mark_as_plugin_api (GST_VAAPI_TYPE_ENCODER_MBBRC, 0);
gst_type_mark_as_plugin_api (gst_vaapi_encoder_h264_prediction_type (), 0);
gst_type_mark_as_plugin_api (g_class_data.rate_control_get_type (), 0);
gst_type_mark_as_plugin_api (g_class_data.encoder_tune_get_type (), 0);
gst_type_mark_as_plugin_api (gst_vaapi_encoder_h264_compliance_mode_type (),
0);
}
/**
......
......@@ -3671,8 +3671,8 @@ gst_vaapi_encoder_h265_class_init (GstVaapiEncoderH265Class * klass)
g_object_class_install_properties (object_class, ENCODER_H265_N_PROPERTIES,
properties);
gst_type_mark_as_plugin_api (g_class_data.rate_control_get_type ());
gst_type_mark_as_plugin_api (g_class_data.encoder_tune_get_type ());
gst_type_mark_as_plugin_api (g_class_data.rate_control_get_type (), 0);
gst_type_mark_as_plugin_api (g_class_data.encoder_tune_get_type (), 0);
}
/**
......
......@@ -122,7 +122,7 @@ gst_vaapi_scale_method_get_type (void)
g_enum_register_static ("GstVaapiScaleMethod", enum_values);
g_once_init_leave (&g_type, type);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
}
return g_type;
}
......@@ -149,7 +149,7 @@ gst_vaapi_deinterlace_method_get_type (void)
if (g_once_init_enter (&g_type)) {
const GType type =
g_enum_register_static ("GstVaapiDeinterlaceMethod", enum_values);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......@@ -173,7 +173,7 @@ gst_vaapi_deinterlace_flags_get_type (void)
if (g_once_init_enter (&g_type)) {
const GType type =
g_enum_register_static ("GstVaapiDeinterlaceFlags", enum_values);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......
......@@ -56,7 +56,7 @@ gst_vaapi_point_get_type (void)
GType type =
g_boxed_type_register_static (g_intern_static_string ("GstVaapiPoint"),
default_copy_func, default_free_func);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......@@ -74,7 +74,7 @@ gst_vaapi_rectangle_get_type (void)
g_boxed_type_register_static (g_intern_static_string
("GstVaapiRectangle"),
default_copy_func, default_free_func);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......@@ -97,7 +97,7 @@ gst_vaapi_render_mode_get_type (void)
if (g_once_init_enter (&g_type)) {
GType type = g_enum_register_static ("GstVaapiRenderMode", render_modes);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......@@ -126,7 +126,7 @@ gst_vaapi_rotation_get_type (void)
if (g_once_init_enter (&g_type)) {
GType type = g_enum_register_static ("GstVaapiRotation", rotation_values);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......@@ -164,7 +164,7 @@ gst_vaapi_rate_control_get_type (void)
if (g_once_init_enter (&g_type)) {
GType type = g_enum_register_static ("GstVaapiRateControl",
rate_control_values);
gst_type_mark_as_plugin_api (type);
gst_type_mark_as_plugin_api (type, 0);
g_once_init_leave (&g_type, type);
}
return g_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment