After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665120 - playbin2: decoder not selected for audio-sink=autoaudiosink
playbin2: decoder not selected for audio-sink=autoaudiosink
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-29 10:40 UTC by Tim-Philipp Müller
Modified: 2011-11-29 13:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2011-11-29 10:40:57 UTC
Not fully sure this is a regression or blocker, but filing as such as note to self to investigate.

With the pulse plugin uninstalled:

 $ gst-launch-0.10 playbin2 uri=file:///path/to/dts.mkv

works just fine, while:

 $ gst-launch-0.10 playbin2 uri=file:///path/to/dts.mkv audio-sink=autoaudiosink

results in:
...
Missing element: DTS decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/x-dts, framed=(boolean)true, rate=(int)48000, channels=(int)6, endianness=(int)4321, depth=(int)16, block-size=(int)512, frame-size=(int)2012'.
Additional debug info:
gsturidecodebin.c(873): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
Missing element: DTS decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/x-dts, framed=(boolean)true, rate=(int)48000, channels=(int)6, endianness=(int)4321, depth=(int)16, block-size=(int)512, frame-size=(int)2013'.
Additional debug info:
gsturidecodebin.c(873): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0


It should use alsasink and plug dtsdec.
Comment 1 Sebastian Dröge (slomo) 2011-11-29 13:17:39 UTC
commit e7853d3a3d1a13933de0321bcf5dc432a68ff65d
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue Nov 29 14:15:45 2011 +0100

    playbin2: Fix decoder-sink compatibility check for raw audio/video formats
    
    If the sink supports raw audio/video, we first check
    if the decoder could output any raw audio/video format
    and assume it is compatible with the sink then. We don't
    do a complete compatibility check here if converters
    are plugged between the decoder and the sink because
    the converters will convert between raw formats and
    even if the decoder format is not supported by the decoder
    a converter will convert it.
    
    We assume here that the converters can convert between
    any raw format.
    
    Fixes bug #665120.