uridecodebin: Missing decoder errors should be STREAM CODEC_NOT_FOUND
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 15 Feb 2010 07:20:41 +0000 (08:20 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 15 Feb 2010 07:20:41 +0000 (08:20 +0100)
and not CORE MISSING_PLUGIN.

gst/playback/gsturidecodebin.c

index 848c017..71dbc75 100644 (file)
@@ -682,7 +682,7 @@ unknown_type_cb (GstElement * element, GstPad * pad, GstCaps * caps,
   gchar *capsstr;
 
   capsstr = gst_caps_to_string (caps);
-  GST_ELEMENT_WARNING (decoder, CORE, MISSING_PLUGIN,
+  GST_ELEMENT_WARNING (decoder, STREAM, CODEC_NOT_FOUND,
       (_("No decoder available for type \'%s\'."), capsstr), (NULL));
   g_free (capsstr);
 }