~ubuntu-branches/ubuntu/karmic/gst-plugins-base0.10/karmic-updates

« back to all changes in this revision

Viewing changes to debian/patches/0005-uridecodebin-Don-t-post-missing-plugin-messages-twic.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-10-07 09:15:28 UTC
  • mfrom: (14.1.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20091007091528-vhi7vkk9j5nvohmg
Tags: 0.10.25-2
* debian/patches/0001-decodebin2-Only-use-the-object-lock-for-protecting-t.patch,
  debian/patches/0002-decodebin2-Don-t-set-the-external-ghostpads-blocked-.patch,
  debian/patches/0003-factorylist-Use-gst_caps_can_intersect-instead-of-_i.patch,
  debian/patches/0004-decodebin2-Rewrite-autoplugging-and-how-groups-of-pa.patch,
  debian/patches/0005-uridecodebin-Don-t-post-missing-plugin-messages-twic.patch,
  debian/patches/0006-decodebin2-Use-the-iterate-internal-links-function-i.patch,
  debian/patches/0007-decodebin2-Chains-with-an-exposed-endpad-are-complet.patch:
  + Patches from upstream GIT/Bugzilla to fix automatic missing plugin
    installation and many other issues. See
    https://bugzilla.gnome.org/show_bug.cgi?id=596183

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 5ee4ee1682cff7ca44897fec0dcee6374cd6636d Mon Sep 17 00:00:00 2001
 
2
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian.droege@collabora.co.uk>
 
3
Date: Thu, 24 Sep 2009 14:56:48 +0200
 
4
Subject: [PATCH 5/7] uridecodebin: Don't post missing plugin messages twice
 
5
 
 
6
decodebin2 already posts them after emitting the unknown-type signal,
 
7
there's no need to post another one.
 
8
---
 
9
 gst/playback/gsturidecodebin.c |    6 ------
 
10
 1 files changed, 0 insertions(+), 6 deletions(-)
 
11
 
 
12
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c
 
13
index 0e0bb74..6420414 100644
 
14
--- a/gst/playback/gsturidecodebin.c
 
15
+++ b/gst/playback/gsturidecodebin.c
 
16
@@ -33,8 +33,6 @@
 
17
 #include <gst/gst.h>
 
18
 #include <gst/gst-i18n-plugin.h>
 
19
 
 
20
-#include <gst/pbutils/missing-plugins.h>
 
21
-
 
22
 #include "gstfactorylists.h"
 
23
 #include "gstplay-marshal.h"
 
24
 #include "gstplay-enum.h"
 
25
@@ -622,12 +620,8 @@ static void
 
26
 unknown_type_cb (GstElement * element, GstPad * pad, GstCaps * caps,
 
27
     GstURIDecodeBin * decoder)
 
28
 {
 
29
-  GstMessage *msg;
 
30
   gchar *capsstr;
 
31
 
 
32
-  msg = gst_missing_decoder_message_new (GST_ELEMENT_CAST (decoder), caps);
 
33
-  gst_element_post_message (GST_ELEMENT_CAST (decoder), msg);
 
34
-
 
35
   capsstr = gst_caps_to_string (caps);
 
36
   GST_ELEMENT_WARNING (decoder, CORE, MISSING_PLUGIN,
 
37
       (_("No decoder available for type \'%s\'."), capsstr), (NULL));
 
38
-- 
 
39
1.6.4.3
 
40