[Bug 682629] decodebin: won't expose unknown pads even with expose-all-streams=true

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 11 05:31:32 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=682629
  GStreamer | gst-plugins-base | git

--- Comment #9 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2013-11-11 13:31:25 UTC ---
(In reply to comment #8)
> The goal was to avoid as quickly as possible to add unneeded decoders/streams.
> 
> If the final caps are raw video (for example), don't attempt to plug/create
> audio decoders.

The code does not do that though. Instead it never exposes 1) raw pads (as with
the default raw caps, which include audio/video/text caps), or 2) pads that
would be plugged to decoders that don't produce final (i.e. raw) caps.

1) Probably should check not the default raw caps but the signals and the
property
2) Is dangerous because it would also not use a pad if there's a single decoder
in the list that outputs only silly stuff like video/x-raw(memory:VASurface)
and not video/x-raw.

I think the behaviour of that property is currently broken.


Apart from that, what this bug is about apparently is different from what the
expose-all-streams property was supposed to solve. And I think we should add a
second property for that so that decodebin also exposes pads with unknown
types.

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