mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
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:
parent
a6b1e0b645
commit
6aa731cb48
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue