thaytan/gst-rpicamsrc

annotation-text-colour Type Mismatch

Enverex opened this issue · 1 comments

These options are described as follows, but the information contradicts itself:

annotation-text-colour: Set the annotation text colour, as a VUY hex value eg #8080FF, -1 for default
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1

annotation-text-bg-colour: Set the annotation text background colour, as a VUY hex value eg #8080FF, -1 for default
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1

In that it states you set the color as #HEX but then the actual Type below states Integer.

The latter appears to be correct as it'll fail when using the value type the description states:

WARNING: erroneous pipeline: could not set property "annotation-text-colour" in element "rpicamsrc0" to "#FFFFFF"

I think I copied the text directly from the raspivid text. You're right that it doesn't match the gst-rpicamsrc mapping.