I have C code that does
g_object_set (clockoverlay, “halignment”, “left”, “valignment”, “top”, “draw-outline”, TRUE, “font-desc”, “Sans, 12”, “time-format”, “%d %b %Y %H:%M:%S”, NULL);
g_object_set (textoverlay1, “text”, “This is Line 1”, “deltay”, 50, “halignment”, “left”, “valignment”, “top”, “font-desc”, “Sans, 10”, “draw-outline”, TRUE, NULL);
but when I run I get
(dvrPR:46850): GLib-GObject-CRITICAL **: 06:24:41.960: value “((GstBaseTextOverlayHAlign) -780639777)” of type ‘GstBaseTextOverlayHAlign’ is invalid or out of range for property ‘halignment’ of type ‘GstBaseTextOverlayHAlign’
(dvrPR:46850): GLib-GObject-CRITICAL **: 06:24:41.960: value “((GstBaseTextOverlayVAlign) -780639792)” of type ‘GstBaseTextOverlayVAlign’ is invalid or out of range for property ‘valignment’ of type ‘GstBaseTextOverlayVAlign’
(dvrPR:46850): GLib-GObject-CRITICAL **: 06:24:41.961: value “((GstBaseTextOverlayHAlign) -780639777)” of type ‘GstBaseTextOverlayHAlign’ is invalid or out of range for property ‘halignment’ of type ‘GstBaseTextOverlayHAlign’
(dvrPR:46850): GLib-GObject-CRITICAL **: 06:24:41.961: value “((GstBaseTextOverlayVAlign) -780639792)” of type ‘GstBaseTextOverlayVAlign’ is invalid or out of range for property ‘valignment’ of type ‘GstBaseTextOverlayVAlign’
Can anyone enlighten me please
James