decodebin: more detailed error message when decoders are missing
@tpm
Submitted by Tim Müller Link to original bug (#604922)
Description
file:///home/tpm/samples/foobar.amr
$ gst-launch-0.10 playbin2 uri=
Pipeline is PREROLLING ...
Setting pipeline to PAUSED ...WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/AMR-WB, channels=(int)1, rate=(int)16000'.
gsturidecodebin.c(684): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
Additional debug info:ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in.
gstdecodebin2.c(2938): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found
Additional debug info:It would be nice if decodebin2 could post an error message saying what decoders are missing (using pbutils).