[Bug 692294] New: [xvidenc] Sink pad getcaps prevents caps renegotiation
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jan 22 06:03:57 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=692294
GStreamer | gst-plugins-bad | 0.10.x
Summary: [xvidenc] Sink pad getcaps prevents caps renegotiation
Classification: Platform
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: relek.f2 at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
After negotiating the sink pad of xvidenc to a specific caps, it refuses to
renegotiate to any other caps, e.g. with a different frame rate. This is caused
by the following part of the getcaps function in gstxvidenc.c, starting on line
990 for me:
/* If we already have caps return them */
if (GST_PAD_CAPS (pad))
return gst_caps_ref (GST_PAD_CAPS (pad));
According to
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/negotiation?h=0.10
, "get_caps() functions should always ignore the currently negotiated caps of a
link", which is not what is happening here. With these lines commented out, the
element successfully renegotiates to a different frame rate, and produces a
playable stream.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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