uridecodebin: Make missing plugins emit a warning message, not an error message

The problem with an error message is, that it will stop playback completely
while it could be that only a audio decoder plugin is missing and the video
could be played with the available plugins.

See bug #591677.
This commit is contained in:
Sebastian Dröge 2009-08-18 08:20:28 +02:00
parent a6b1e0b645
commit 6aa731cb48

View file

@ -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_ERROR (decoder, CORE, MISSING_PLUGIN,
GST_ELEMENT_WARNING (decoder, CORE, MISSING_PLUGIN,
(_("No decoder available for type \'%s\'."), capsstr), (NULL));
g_free (capsstr);
}