GNOME Bugzilla – Bug 665120
playbin2: decoder not selected for audio-sink=autoaudiosink
Last modified: 2011-11-29 13:17:39 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.
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.