[Bug 789986] pad templates: Allow specifying GType
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Nov 6 20:43:03 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=789986
--- Comment #5 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
afaics, the way to do it in python is:
__gsttemplates__ = (Gst.PadTemplate.new("src",
Gst.PadDirection.SRC,
Gst.PadPresence.ALWAYS,
Gst.Caps.new_any())
So there won't be any need for an override if you can do:
__gsttemplates__ = (Gst.PadTemplate.new_with_type("src",
Gst.PadDirection.SRC,
Gst.PadPresence.ALWAYS,
Gst.Caps.new_any(),
your_gtype)
?
--
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