mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
avfvideosrc: Fix description and trailing whitespace
Minor fix to mention that the element is also useful on MacOS, and remove some trailing whitespace Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4083>
This commit is contained in:
parent
855e86f6a2
commit
47e97251af
1 changed files with 6 additions and 6 deletions
|
@ -1353,7 +1353,7 @@ gst_avf_video_src_class_init (GstAVFVideoSrcClass * klass)
|
||||||
|
|
||||||
gst_element_class_set_metadata (gstelement_class,
|
gst_element_class_set_metadata (gstelement_class,
|
||||||
"Video Source (AVFoundation)", "Source/Video/Hardware",
|
"Video Source (AVFoundation)", "Source/Video/Hardware",
|
||||||
"Reads frames from an iOS AVFoundation device",
|
"Reads frames from an iOS/MacOS AVFoundation device",
|
||||||
"Ole André Vadla Ravnås <oleavr@soundrop.com>");
|
"Ole André Vadla Ravnås <oleavr@soundrop.com>");
|
||||||
|
|
||||||
gst_element_class_add_static_pad_template (gstelement_class, &src_template);
|
gst_element_class_add_static_pad_template (gstelement_class, &src_template);
|
||||||
|
@ -1405,24 +1405,24 @@ gst_avf_video_src_class_init (GstAVFVideoSrcClass * klass)
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_X,
|
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_X,
|
||||||
g_param_spec_uint ("screen-crop-x", "Screen capture crop X",
|
g_param_spec_uint ("screen-crop-x", "Screen capture crop X",
|
||||||
"Horizontal coordinate of top left corner of the screen capture area",
|
"Horizontal coordinate of top left corner of the screen capture area",
|
||||||
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_Y,
|
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_Y,
|
||||||
g_param_spec_uint ("screen-crop-y", "Screen capture crop Y",
|
g_param_spec_uint ("screen-crop-y", "Screen capture crop Y",
|
||||||
"Vertical coordinate of top left corner of the screen capture area",
|
"Vertical coordinate of top left corner of the screen capture area",
|
||||||
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_WIDTH,
|
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_WIDTH,
|
||||||
g_param_spec_uint ("screen-crop-width", "Screen capture crop width",
|
g_param_spec_uint ("screen-crop-width", "Screen capture crop width",
|
||||||
"Width of the screen capture area (0 = maximum)",
|
"Width of the screen capture area (0 = maximum)",
|
||||||
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_HEIGHT,
|
g_object_class_install_property (gobject_class, PROP_CAPTURE_SCREEN_CROP_HEIGHT,
|
||||||
g_param_spec_uint ("screen-crop-height", "Screen capture crop height",
|
g_param_spec_uint ("screen-crop-height", "Screen capture crop height",
|
||||||
"Height of the screen capture area (0 = maximum)",
|
"Height of the screen capture area (0 = maximum)",
|
||||||
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_avf_video_src_debug, "avfvideosrc",
|
GST_DEBUG_CATEGORY_INIT (gst_avf_video_src_debug, "avfvideosrc",
|
||||||
0, "iOS AVFoundation video source");
|
0, "iOS/MacOS AVFoundation video source");
|
||||||
|
|
||||||
gst_type_mark_as_plugin_api (GST_TYPE_AVF_VIDEO_SOURCE_POSITION, 0);
|
gst_type_mark_as_plugin_api (GST_TYPE_AVF_VIDEO_SOURCE_POSITION, 0);
|
||||||
gst_type_mark_as_plugin_api (GST_TYPE_AVF_VIDEO_SOURCE_ORIENTATION, 0);
|
gst_type_mark_as_plugin_api (GST_TYPE_AVF_VIDEO_SOURCE_ORIENTATION, 0);
|
||||||
|
|
Loading…
Reference in a new issue