diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-13 17:42:07 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-13 17:42:07 +0200 |
commit | a6b1e0b6450ee80ecf263a398432d95c812d6952 (patch) | |
tree | b54d99304cf60800a2a27377da1d85c618a6c499 /gst | |
parent | 504f8dc9c7f60d1c1e9a3a15e21d62bd10336f3d (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/playback/gsturidecodebin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index b5aa0d54b..77d20fcf7 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_WARNING (decoder, STREAM, WRONG_TYPE, + GST_ELEMENT_ERROR (decoder, CORE, MISSING_PLUGIN, (_("No decoder available for type \'%s\'."), capsstr), (NULL)); g_free (capsstr); } |