--- gst-plugins-base0.10-0.10.35/gst/playback/gstplaybin2.c	2011-06-14 14:52:17.000000000 +0200
+++ gst-plugins-base0.10-0.10.35-patched/gst/playback/gstplaybin2.c	2012-04-13 20:28:00.000000000 +0200
@@ -2956,87 +2956,6 @@
     GstSourceGroup * group)
 {
   gboolean ret = TRUE;
-  GstElement *sink;
-  GstPad *sinkpad = NULL;
-
-  GST_PLAY_BIN_LOCK (group->playbin);
-  GST_SOURCE_GROUP_LOCK (group);
-
-  if ((sink = group->playbin->text_sink))
-    sinkpad = gst_element_get_static_pad (sink, "sink");
-  if (sinkpad) {
-    GstCaps *sinkcaps;
-
-    /* Ignore errors here, if a custom sink fails to go
-     * to READY things are wrong and will error out later
-     */
-    if (GST_STATE (sink) < GST_STATE_READY)
-      gst_element_set_state (sink, GST_STATE_READY);
-
-    sinkcaps = gst_pad_get_caps_reffed (sinkpad);
-    if (!gst_caps_is_any (sinkcaps))
-      ret = !gst_pad_accept_caps (sinkpad, caps);
-    gst_caps_unref (sinkcaps);
-    gst_object_unref (sinkpad);
-  } else {
-    GstCaps *subcaps = gst_subtitle_overlay_create_factory_caps ();
-    ret = !gst_caps_can_intersect (caps, subcaps);
-    gst_caps_unref (subcaps);
-  }
-  /* If autoplugging can stop don't do additional checks */
-  if (!ret)
-    goto done;
-
-  /* If this is from the subtitle uridecodebin we don't need to
-   * check the audio and video sink */
-  if (group->suburidecodebin
-      && gst_object_has_ancestor (GST_OBJECT_CAST (element),
-          GST_OBJECT_CAST (group->suburidecodebin)))
-    goto done;
-
-  if ((sink = group->audio_sink)) {
-    sinkpad = gst_element_get_static_pad (sink, "sink");
-    if (sinkpad) {
-      GstCaps *sinkcaps;
-
-      /* Ignore errors here, if a custom sink fails to go
-       * to READY things are wrong and will error out later
-       */
-      if (GST_STATE (sink) < GST_STATE_READY)
-        gst_element_set_state (sink, GST_STATE_READY);
-
-      sinkcaps = gst_pad_get_caps_reffed (sinkpad);
-      if (!gst_caps_is_any (sinkcaps))
-        ret = !gst_pad_accept_caps (sinkpad, caps);
-      gst_caps_unref (sinkcaps);
-      gst_object_unref (sinkpad);
-    }
-  }
-  if (!ret)
-    goto done;
-
-  if ((sink = group->video_sink)) {
-    sinkpad = gst_element_get_static_pad (sink, "sink");
-    if (sinkpad) {
-      GstCaps *sinkcaps;
-
-      /* Ignore errors here, if a custom sink fails to go
-       * to READY things are wrong and will error out later
-       */
-      if (GST_STATE (sink) < GST_STATE_READY)
-        gst_element_set_state (sink, GST_STATE_READY);
-
-      sinkcaps = gst_pad_get_caps_reffed (sinkpad);
-      if (!gst_caps_is_any (sinkcaps))
-        ret = !gst_pad_accept_caps (sinkpad, caps);
-      gst_caps_unref (sinkcaps);
-      gst_object_unref (sinkpad);
-    }
-  }
-
-done:
-  GST_SOURCE_GROUP_UNLOCK (group);
-  GST_PLAY_BIN_UNLOCK (group->playbin);
 
   GST_DEBUG_OBJECT (group->playbin,
       "continue autoplugging group %p for %s:%s, %" GST_PTR_FORMAT ": %d",
