summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2020-06-19 15:21:56 +0100
committerTim-Philipp Müller <tim@centricular.com>2020-06-19 15:21:56 +0100
commitbf7d4bda494dd51cd22ffadcd9dcfda3cdb77305 (patch)
tree7c20a568ee2915dba77d70fe9112403736a54a1d /gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c
parent4b2f7a188d2fd4353585e00de35a943c5394601a (diff)
Update plugin docs and add more plugins
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/344>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c b/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c
index 8eda7630..00d1597c 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c
@@ -894,6 +894,9 @@ gst_vaapi_encoder_jpeg_class_init (GstVaapiEncoderJpegClass * klass)
g_object_class_install_properties (object_class, ENCODER_JPEG_N_PROPERTIES,
properties);
+
+ 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);
}
/**