summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Goulpié <paul.goulpie@ubicast.eu>2021-02-24 17:41:02 +0100
committerPaul Goulpié <paul.goulpie@ubicast.eu>2021-02-27 22:48:57 +0100
commite1f6c37b46997a8244690b4c85d7f7fcd5307373 (patch)
treec26e7580887a0518d84c03f0fa32c0e7074f9a55
parent18f530978be95f39aaf53fe9dd7dea70149365a7 (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>
-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 c36fa829..ad56cca2 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
@@ -4026,7 +4026,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: