[Bug 632788] [playbin2] Doesn't support files with a streams that are supported compressed by a sink and streams that need decoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 18 08:54:37 PST 2011


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

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |slomo at circular-chaos.org
            Summary|[playbin2] pipeline         |[playbin2] Doesn't support
                   |construction fails if there |files with a streams that
                   |multiple audio streams      |are supported compressed by
                   |requiring different sinks   |a sink and streams that
                   |                            |need decoding
     Ever Confirmed|0                           |1

--- Comment #8 from Sebastian Dröge <slomo at circular-chaos.org> 2011-02-18 16:54:32 UTC ---
Ok so this problem is actually quite simple. There's one audio stream that is
supported by the sink without decoding and one that requires an decoder,
playbin2 requests a raw audio sinkpad in playsink and then requests a non-raw
audio sinkpad in playsink. Unfortunately playsink seems to assume that you
either request a raw or a non-raw audio sinkpad and not both and then you get
the same sinkpad in both cases, the second stream can't be linked and playbin2
errors out.

So, IMHO this concept of having a raw sink and a non-raw sink for every stream
type is wrong. It will, if implemented properly in playsink, require another
selection mechanism in playsink while there's already a selection mechanism in
playbin2. And inside playbin2 there's also differentiation between raw and
non-raw streams...

I guess playbin2 shouldn't really care about the raw'ness of streams and this
should all be handled internally in playsink. Unfortunately this requires API
changes to playsink and since a few releases playsink is a public element.
Suggestions?

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