Writable parameter of an element is considered as not writable in GstControlBinding object
vk_gst
venkateshkuppan26 at gmail.com
Tue Aug 7 09:51:53 UTC 2018
Hello,
I am trying to set certain properties for an element, more of trying to
control the element properties at runtime. Here is the source code, as
described int he previous post
<http://gstreamer-devel.966125.n4.nabble.com/GStreamer-CRITICAL-gst-object-add-control-binding-assertion-binding-gt-pspec-failed-td4688007.html>
.
Here are the additional debug messages that I came across :
0:00:00.174410648 [336m 8309[00m 0xd1b750 [37mTRACE [00m
[00;01;31;44m GST_REFCOUNTING
gstobject.c:207:gst_object_init:<GstObject at 0x10b0020>[00m 0x10b0020 new
0:00:00.174697421 [336m 8309[00m 0xd1b750 [37mTRACE [00m
[00;01;31;44m GST_REFCOUNTING
gstobject.c:207:gst_object_init:<GstObject at 0x10b20f0>[00m 0x10b20f0 new
0:00:00.174716708 [336m 8309[00m 0xd1b750 [36mINFO [00m [00m
gstcontrolbinding
gstcontrolbinding.c:144:gst_control_binding_constructor:<gltrnsfrm>[00m
trying to put property 'rotation-x' under control
0:00:00.174723927 [336m 8309[00m 0xd1b750 [37mDEBUG [00m [00m
gstcontrolbinding
gstcontrolbinding.c:150:gst_control_binding_constructor:<gltrnsfrm>[00m
psec->flags : 0x000000e3
0:00:00.174729088 [336m 8309[00m 0xd1b750 [33;01mWARN [00m [00m
gstcontrolbinding
gstcontrolbinding.c:161:gst_control_binding_constructor:<gltrnsfrm>[00m
property 'rotation-x' on class 'GstGLTransformation' needs to be writeable,
controlable and not construct_only
0:00:00.174733951 [336m 8309[00m 0xd1b750 [37mTRACE [00m
[00;01;31;44m GST_REFCOUNTING
gstobject.c:264:gst_object_unref:<gltrnsfrm>[00m 0x10a60e0 unref 4->3
(python3:8309): GStreamer-CRITICAL **: 10:37:00.609:
gst_object_add_control_binding: assertion 'binding->pspec' failed
Now as per the man page of 'gltransformation', the element properties
rotation-x/y/z are readable and writeable.
#gst-inspect-1.0 gltransformation
translation-x : Translates the video at the X-Axis, in universal
[0-1] coordinate.
flags: readable, writable
Float. Range: -3,402823e+38 - 3,402823e+38
Default: 0
translation-y : Translates the video at the Y-Axis, in universal
[0-1] coordinate.
flags: readable, writable
Float. Range: -3,402823e+38 - 3,402823e+38
Default: 0
translation-z : Translates the video at the Z-Axis, in universal
[0-1] coordinate.
flags: readable, writable
Float. Range: -3,402823e+38 - 3,402823e+38
Default: 0
rotation-x : Rotates the video around the X-Axis in degrees.
flags: readable, writable
Float. Range: -3,402823e+38 - 3,402823e+38
Default: 0
rotation-y : Rotates the video around the Y-Axis in degrees.
flags: readable, writable
Float. Range: -3,402823e+38 - 3,402823e+38
Default: 0
rotation-z : Rotates the video around the Z-Axis in degrees.
flags: readable, writable
Float. Range: -3,402823e+38 - 3,402823e+38
Default:
However, in this case the property is considered as not writable. here is
the source code for the gstcontrolbinding
<https://github.com/ford-prefect/gstreamer/blob/master/gst/gstcontrolbinding.c>
.
Does anyone know why this is causing an issue in this case.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list