summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-09-24 14:56:48 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-07 17:46:29 +0200
commit674e2309acaf587017be1817592437ab9a065262 (patch)
tree193d9d247976520f811e16417f857e0cb3fe5b62
parentcf9c6a2271ad35e422c8fba6af842e3ea309d82d (diff)
uridecodebin: Don't post missing plugin messages twice
decodebin2 already posts them after emitting the unknown-type signal, there's no need to post another one.
-rw-r--r--gst/playback/gsturidecodebin.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c
index 0e0bb7457..642041486 100644
--- a/gst/playback/gsturidecodebin.c
+++ b/gst/playback/gsturidecodebin.c
@@ -33,8 +33,6 @@
#include <gst/gst.h>
#include <gst/gst-i18n-plugin.h>
-#include <gst/pbutils/missing-plugins.h>
-
#include "gstfactorylists.h"
#include "gstplay-marshal.h"
#include "gstplay-enum.h"
@@ -622,12 +620,8 @@ static void
unknown_type_cb (GstElement * element, GstPad * pad, GstCaps * caps,
GstURIDecodeBin * decoder)
{
- GstMessage *msg;
gchar *capsstr;
- msg = gst_missing_decoder_message_new (GST_ELEMENT_CAST (decoder), caps);
- gst_element_post_message (GST_ELEMENT_CAST (decoder), msg);
-
capsstr = gst_caps_to_string (caps);
GST_ELEMENT_WARNING (decoder, CORE, MISSING_PLUGIN,
(_("No decoder available for type \'%s\'."), capsstr), (NULL));