summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-17 17:12:53 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-19 14:57:38 +0100
commit3df5bfc06d32089e34397ea2f29e003081417cf5 (patch)
tree41cca98a389d9725473b2bca3103d8b40ac3af6b
parent5e26efbcf21e0ebfc35bb92f0f522b9e075082c9 (diff)
libs: encoder: h264: document gst_vaapi_encoder_h264_supports_avc()
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder_h264.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
index 6e463020..f98949a2 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder_h264.c
@@ -4125,6 +4125,15 @@ gst_vaapi_encoder_h264_get_profile_and_level (GstVaapiEncoderH264 * encoder,
return TRUE;
}
+/**
+ * gst_vaapi_encoder_h264_supports_avc:
+ * @encoder: a #GstVaapiEncoderH264
+ *
+ * Queries the H.264 @encoder if it supports the generation of avC
+ * stream format.
+ *
+ * Returns: %TRUE if @encoder supports avC; %FALSE otherwise
+ **/
gboolean
gst_vaapi_encoder_h264_supports_avc (GstVaapiEncoderH264 * encoder)
{