commit a6b1e0b6450ee80ecf263a398432d95c812d6952
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Thu Aug 13 17:42:07 2009 +0200

    uridecodebin: Post a correct error message for unknown types
    
    Before we had STREAM/WRONG_TYPE but it's really CORE/MISSING_PLUGIN
    because a plugin is missing and nothing else is wrong.
    
    Also make it an error instead of a warning.
    
    Really fixes bug #591677.

diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c
index b5aa0d5..77d20fc 100644
--- a/gst/playback/gsturidecodebin.c
+++ b/gst/playback/gsturidecodebin.c
@@ -628,7 +628,7 @@ unknown_type_cb (GstElement * element, GstPad * pad, GstCaps * caps,
   gst_element_post_message (GST_ELEMENT_CAST (decoder), msg);
 
   capsstr = gst_caps_to_string (caps);
-  GST_ELEMENT_WARNING (decoder, STREAM, WRONG_TYPE,
+  GST_ELEMENT_ERROR (decoder, CORE, MISSING_PLUGIN,
       (_("No decoder available for type \'%s\'."), capsstr), (NULL));
   g_free (capsstr);
 }
