[Bug 746320] Can't set flags on Gst.Pad

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 17 03:16:42 PDT 2015


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

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tsaunier at gnome.org

--- Comment #5 from Thibault Saunier <tsaunier at gnome.org> ---
For what is worth that works just fine here (all gst on master, pygi 3.14.0):

In [34]: pad = Gst.Pad.new("in", Gst.PadDirection.SINK)

In [35]: pad.flags #not an instance of PadFlags?
Out[35]: <flags GST_PAD_FLAG_FLUSHING of type GstPadFlags>

In [36]: Gst.PadFlags(pad.flags)
Out[36]: <flags GST_PAD_FLAG_FLUSHING of type GstPadFlags>

In [37]: pad.flags = Gst.PadFlags.PROXY_CAPS

In [38]: pad.flags |= Gst.PadFlags.PROXY_CAPS

In [39]: pad.flags
Out[39]: <flags GST_PAD_FLAG_PROXY_CAPS of type GstPadFlags>

-- 
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