summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Goulpié <paul.goulpie@ubicast.eu>2021-02-24 17:41:02 +0100
committerTim-Philipp Müller <tim@centricular.com>2021-03-01 10:01:16 +0000
commitd96c792a54b1aef054c43c59363bbf5eacafe03f (patch)
tree2326f4be30fc6ee86f8d5d4b61f2aee821ab65d6
parent1fb6750e83dbe59e5b02952e49e547022f52d021 (diff)
gstvaapiencoder_h264: add ENCODER_EXPOSURE on aud propertie
forgot during the following mainline commit: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/commit/bc2f8fd19e924aa0e193708307326acd037691ce# Signed-off-by: Paul Goulpié <paul.goulpie@ubicast.eu> Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/416>
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder_h264.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
index 5eec9f6d..a447bf13 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
@@ -4011,7 +4011,8 @@ gst_vaapi_encoder_h264_class_init (GstVaapiEncoderH264Class * klass)
properties[ENCODER_H264_PROP_AUD] =
g_param_spec_boolean ("aud", "AU delimiter",
"Use AU (Access Unit) delimeter", FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:Compliance Mode: