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 688720 - gst-python: implement an override for GstBitmask for channel-mask from audio caps
gst-python: implement an override for GstBitmask for channel-mask from audio ...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal enhancement
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-20 12:18 UTC by Alex Kaye
Modified: 2017-08-01 19:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Kaye 2012-11-20 12:18:02 UTC
pad.get_current_caps().get_structure(0).get_value('channel-mask')

When used on a 'deinterleave' element src pad, with 'keep-positions' set to true, this code gives an error: TypeError: unknown type GstBitmask
Comment 1 Sebastian Dröge (slomo) 2012-12-17 11:47:46 UTC
Confirmed, gst-python should implement an override for GstBitmask
Comment 2 Tim-Philipp Müller 2017-08-01 19:26:10 UTC
This looks like it should take care of this:

Commit: cb0dd804f7e933fb0bc3e7ce5067e83c0b00cf95
URL:    http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=cb0dd804f7e933fb0bc3e7ce5067e83c0b00cf95

Author: Thibault Saunier <thibault.saunier@osg.samsung.com>
Date:   Tue Jul 25 16:17:54 2017 -0400

Add support for Gst.Bitmask


If not, please re-open, thanks!