After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666154 - [0.11] Python - query_caps fails to accept 'None'
[0.11] Python - query_caps fails to accept 'None'
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.11.x
Other Linux
: Normal normal
: 0.11.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-14 10:41 UTC by Christian Fredrik Kalager Schaller
Modified: 2011-12-14 12:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2011-12-14 10:41:01 UTC
Trying to set None on .query_caps, but it seems to fail:

    origin = src_pad.query_caps(None)
  • File "/usr/lib/python2.7/site-packages/gi/types.py", line 43 in function
    return info.invoke(*args, **kwargs)
TypeError: Argument 1 does not allow None as a value

Comment 1 Tim-Philipp Müller 2011-12-14 12:15:56 UTC
commit 33a566bcc5003bfa7aea9ccbd9003ec9c42e9a1a
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Wed Dec 14 12:13:36 2011 +0000

    pad: allow NULL as filter caps argument with query_caps()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=666154