mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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.
This commit is contained in:
parent
504f8dc9c7
commit
a6b1e0b645
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_WARNING (decoder, STREAM, WRONG_TYPE,
|
||||
GST_ELEMENT_ERROR (decoder, CORE, MISSING_PLUGIN,
|
||||
(_("No decoder available for type \'%s\'."), capsstr), (NULL));
|
||||
g_free (capsstr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue