summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2017-05-19 20:55:35 +1000
committerTim-Philipp Müller <tim@centricular.com>2020-07-10 16:46:03 +0100
commitf093e3f5fb168cde45be71d8646ed7ac042a1389 (patch)
tree79033c7f2efbb4521d1807ab3b099b0bebdfe836 /sys
parent2c458819f510a4c84fd871d892f503f7371413f6 (diff)
downloadgstreamer-plugins-good-f093e3f5fb168cde45be71d8646ed7ac042a1389.tar.gz
rpicamsrc: Fix the descriptions of text annotation colour properties
The text annotation colour properties take an integer value corresponding to a VUY colour, not a text string like the copy-pasted description from raspivid suggests. Fixes https://github.com/thaytan/gst-rpicamsrc/issues/59
Diffstat (limited to 'sys')
-rw-r--r--sys/rpicamsrc/gstrpicamsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/rpicamsrc/gstrpicamsrc.c b/sys/rpicamsrc/gstrpicamsrc.c
index 8712c21c2..f2a993c0b 100644
--- a/sys/rpicamsrc/gstrpicamsrc.c
+++ b/sys/rpicamsrc/gstrpicamsrc.c
@@ -478,11 +478,11 @@ gst_rpi_cam_src_class_init (GstRpiCamSrcClass * klass)
G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_ANNOTATION_TEXT_COLOUR,
g_param_spec_int ("annotation-text-colour", "Annotation text colour (VUY)",
- "Set the annotation text colour, as a VUY hex value eg #8080FF, -1 for default", -1,
+ "Set the annotation text colour, as the integer corresponding to a VUY value eg 0x8080FF = 8421631, -1 for default", -1,
G_MAXINT, -1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_ANNOTATION_TEXT_BG_COLOUR,
g_param_spec_int ("annotation-text-bg-colour", "Annotation text background colour (VUY)",
- "Set the annotation text background colour, as a VUY hex value eg #8080FF, -1 for default", -1,
+ "Set the annotation text background colour, as the integer corresponding to a VUY value eg 0x8080FF = 8421631, -1 for default", -1,
G_MAXINT, -1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#ifdef GST_RPI_CAM_SRC_ENABLE_VIDEO_DIRECTION
g_object_class_override_property (gobject_class, PROP_VIDEO_DIRECTION,