[Bug 668471] New: [h264parse] Negotiation regression for autoplugging

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jan 22 23:39:31 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=668471
  GStreamer | gst-plugins-bad | 0.11.x

           Summary: [h264parse] Negotiation regression for autoplugging
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

9d0c7d054eafc6b92402d283a2e6cdd8cfa5cb1f breaks autoplugging negotiation, e.g.
in decodebin2. The problem is that decodebin2 will always add a capsfilter
after h264parse immediately, which has all the possible decoder caps as first
caps structures and then the parser srcpad caps afterwards. Together with this
commit this will cause h264parse to always negotiate to passthrough mode and
never to something else.

The capsfilter is used to provide all possible decoder caps to the parser
before it has actually negotiated or even looked at the stream. h264parse can
then look at the stream, select one of the possible downstream caps (first
possible, preferred structure) and afterwards decodebin2 adds the decoder after
the capsfilter. The parser srcpad caps are necessary in the capsfilter to cause
useful error messages if no decoder for the format is available (instead of
just not-negotiated).

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