Don't throw an error if we can't negotiate caps
authorDavid Schleef <ds@schleef.org>
Sat, 22 Nov 2003 04:04:29 +0000 (04:04 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 22 Nov 2003 04:04:29 +0000 (04:04 +0000)
Original commit message from CVS:
Don't throw an error if we can't negotiate caps

ext/hermes/gstcolorspace.c

index a99c6350c64e02df7522c527b557647ac4ebb6c5..de1bd88f7e3d5c0e4a1c682a7788991da2e25298 100644 (file)
@@ -392,11 +392,6 @@ gst_colorspace_srcconnect_func (GstPad *pad, GstCaps *caps, gboolean newcaps)
   }
   gst_caps_unref (try_peercaps);
 
-  if (gst_pad_recover_caps_error (space->srcpad, NULL)) {
-    res = GST_PAD_LINK_DONE;
-    goto success;
-  }
-  
   /* we disable ourself here */
   space->disabled = TRUE;
   goto done;