Impossible to create Gst.Bitmask using gst-python
Describe your issue
It is currently impossible to create a Gst.Bitmask using python on Ubuntu 23.04 (python3-gst-1.0 1.22.5-1).
Expected Behavior
It's expected to create a Gst.Bitmask
Observed Behavior
TypeError: Bitmask() takes no arguments
Setup
- Operating System: Ubuntu 23.04
- Device: Computer
- GStreamer Version: python3-gst-1.0 1.22.5-1
- Command line:
Steps to reproduce the bug
- Write this content to a file:
Here's a repro script:
import gi
gi.require_version('GLib', '2.0')
gi.require_version('GObject', '2.0')
gi.require_version('Gst', '1.0')
from gi.repository import Gst, GObject, GLib
Gst.Bitmask(0x4242)
- Execute the script
How reproducible is the bug?
Always
Screenshots if relevant
Solutions you have tried
Tried to manually import the relevant override, or to manipulate the GObject.Value directly