[gstreamer-bugs] [Bug 160220] New: gst_pad_set_explicit_caps of a NULL caps doesn't work
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Thu Dec 2 06:47:03 PST 2004
http://bugzilla.gnome.org/show_bug.cgi?id=160220
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: gst_pad_set_explicit_caps of a NULL caps doesn't work
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: bilboed at bilboed.com
QAContact: gstreamer-bugs at lists.sourceforge.net
The documentation for gst_pad_set_explicit_caps() states that if we pass a NULL
caps it will take off the explicit caps for the given pad. But there is
"g_return_val_if_fail (gst_caps_is_fixed (caps), FALSE);" at the beginning of
the function that stops doing so.
Solution : Move that line, under the "if (caps == NULL) {...}" block.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list