[gstreamer-bugs] [Bug 363795] New: Impossible to reset a pad to "unnegotiated" from Python
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Oct 20 16:55:26 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=363795
GStreamer | gst-python | Ver: HEAD CVS
Summary: Impossible to reset a pad to "unnegotiated" from Python
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: mail at renestadler.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
>From the documentation of gst_pad_set_caps (pad, caps):
"It is possible to set NULL caps, which will make the pad unnegotiated again."
It seems to be impossible to do this from Python:
>>> import pygst; pygst.require ("0.10"); import gst
>>> pad = gst.element_factory_make ("fakesink").get_pad ("sink")
>>> pad.set_caps (None)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: could not convert to GstCaps
Attaching a patch that allows for that.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list