From 6aa731cb48808f2eb50fd342b9c7f2be11555adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 18 Aug 2009 08:20:28 +0200 Subject: [PATCH] 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. --- gst/playback/gsturidecodebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 77d20fcf72..e7c5b6c688 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_ERROR (decoder, CORE, MISSING_PLUGIN, + GST_ELEMENT_WARNING (decoder, CORE, MISSING_PLUGIN, (_("No decoder available for type \'%s\'."), capsstr), (NULL)); g_free (capsstr); }