From e881817567b3def0ace431c29a0181446aeedfa6 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 9 Dec 2024 15:12:57 +0530 Subject: [PATCH] vtenc, osxaudio: Fix missing since markers Part-of: --- .../gst-plugins-bad/sys/applemedia/vtenc.c | 48 +++++++++++++++++++ .../sys/osxaudio/gstosxaudiosink.c | 6 ++- .../sys/osxaudio/gstosxaudiosrc.c | 6 ++- 3 files changed, 58 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c b/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c index 0c3e9aa7dc..ecdaa8d07b 100644 --- a/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c +++ b/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c @@ -485,6 +485,28 @@ gst_vtenc_class_init (GstVTEncClass * klass) G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); /** + * vtenc_h264:rate-control + * + * Since: 1.26 + */ + /** + * vtenc_h264_hw:rate-control + * + * Since: 1.26 + */ + /** + * vtenc_h265:rate-control + * + * Since: 1.26 + */ + /** + * vtenc_h265_hw:rate-control + * + * Since: 1.26 + */ + /** + * vtenc_prores:rate-control + * * Since: 1.26 */ g_object_class_install_property (gobject_class, PROP_RATE_CONTROL, @@ -494,6 +516,28 @@ gst_vtenc_class_init (GstVTEncClass * klass) G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); /** + * vtenc_h264:data-rate-limits + * + * Since: 1.26 + */ + /** + * vtenc_h264_hw:data-rate-limits + * + * Since: 1.26 + */ + /** + * vtenc_h265:data-rate-limits + * + * Since: 1.26 + */ + /** + * vtenc_h265_hw:data-rate-limits + * + * Since: 1.26 + */ + /** + * vtenc_prores:data-rate-limits + * * Since: 1.26 */ g_object_class_install_property (gobject_class, PROP_DATA_RATE_LIMITS, @@ -510,6 +554,10 @@ gst_vtenc_class_init (GstVTEncClass * klass) */ if (g_strcmp0 (G_OBJECT_CLASS_NAME (klass), "vtenc_prores") == 0) { /** + * vtenc_prores:max-frame-delay + * + * Maximum frames allowed in the compression window (-1 = unlimited) + * * Since: 1.26 */ g_object_class_install_property (gobject_class, PROP_MAX_FRAME_DELAY, diff --git a/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosink.c b/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosink.c index ce70277e3a..1f9c46338f 100644 --- a/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosink.c +++ b/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosink.c @@ -178,7 +178,11 @@ gst_osx_audio_sink_class_init (GstOsxAudioSinkClass * klass) g_param_spec_int ("device", "Device ID", "Device ID of output device", 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - /* + /** + * osxaudiosink:unique-id + * + * Unique persistent ID for the output device + * * Since: 1.26 */ g_object_class_install_property (gobject_class, ARG_UNIQUE_ID, diff --git a/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosrc.c b/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosrc.c index 5ac7966e71..6ad75e20fd 100644 --- a/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosrc.c +++ b/subprojects/gst-plugins-good/sys/osxaudio/gstosxaudiosrc.c @@ -152,7 +152,11 @@ gst_osx_audio_src_class_init (GstOsxAudioSrcClass * klass) g_param_spec_int ("device", "Device ID", "Device ID of input device", 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - /* + /** + * osxaudiosrc:unique-id + * + * Unique persistent ID for the input device + * * Since: 1.26 */ g_object_class_install_property (gobject_class, ARG_UNIQUE_ID,