[Bug 756950] Error raised when calling get_value method

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 30 15:14:10 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=756950

Alex Băluț <alexandru.balut at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #7 from Alex Băluț <alexandru.balut at gmail.com> ---
By annotating with (method), the generated name changed from get_value to
control_source_get_value. This makes gst_control_source_get_value usable.
Thanks!

I'm reopening the bug because there is another similar clash. This time between
the _GstControlSource.get_value field and gst_object_get_value:
http://lazka.github.io/pgi-docs/Gst-1.0/classes/Object.html#Gst.Object.get_value
(click "source" there to see details)

Exactly as before:

$ python3 -c "import gi; gi.require_version('GstController', '1.0'); from
gi.repository import GstController;
GstController.InterpolationControlSource().get_value('propname', 1111111111)"   

** (process:15868): WARNING **: Field get_value: Interface type 2 should have
is_pointer set
Traceback (most recent call last):
  File "<string>", line 1, in <module>
RuntimeError: unable to get the value

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list