avfvideosrc: Add missing since markers for screen-crop properties
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 9 Dec 2024 09:42:06 +0000 (15:12 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 16 Dec 2024 18:52:20 +0000 (18:52 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8120>

subprojects/gst-plugins-bad/sys/applemedia/avfvideosrc.m

index ec6e3d4470fdc574758a0b2de7e1d2116d34b1d3..cadc27fe4e7d484ba4b1fb82a8a94141382e0821 100644 (file)
@@ -1271,18 +1271,50 @@ gst_avf_video_src_class_init (GstAVFVideoSrcClass * klass)
       g_param_spec_boolean ("capture-screen-mouse-clicks", "Enable mouse clicks capture",
           "Enable mouse clicks capture while capturing screen", FALSE,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+
+  /**
+   * avfvideosrc:screen-crop-x
+   *
+   * Horizontal coordinate of top left corner of the screen capture area
+   *
+   * Since: 1.22
+   */
   g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_X,
       g_param_spec_uint ("screen-crop-x", "Screen capture crop X",
           "Horizontal coordinate of top left corner of the screen capture area",
           0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+
+  /**
+   * avfvideosrc:screen-crop-y
+   *
+   * Vertical coordinate of top left corner of the screen capture area
+   *
+   * Since: 1.22
+   */
   g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_Y,
       g_param_spec_uint ("screen-crop-y", "Screen capture crop Y",
           "Vertical coordinate of top left corner of the screen capture area",
           0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+
+  /**
+   * avfvideosrc:screen-crop-width
+   *
+   * Width of the screen capture area (0 = maximum)
+   *
+   * Since: 1.22
+   */
   g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_WIDTH,
       g_param_spec_uint ("screen-crop-width", "Screen capture crop width",
           "Width of the screen capture area (0 = maximum)",
           0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+
+  /**
+   * avfvideosrc:screen-crop-height
+   *
+   * Height of the screen capture area (0 = maximum)
+   *
+   * Since: 1.22
+   */
   g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_HEIGHT,
       g_param_spec_uint ("screen-crop-height", "Screen capture crop height",
           "Height of the screen capture area (0 = maximum)",