playsink: Use correct number of parameters to gst_pad_get_caps()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 16 May 2011 15:08:45 +0000 (17:08 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 16 May 2011 15:08:45 +0000 (17:08 +0200)
gst/playback/gstplaysink.c

index 80601c3..141e0ae 100644 (file)
@@ -2847,7 +2847,7 @@ is_raw_pad (GstPad * pad)
   if (!caps) {
     guint i, n;
 
-    caps = gst_pad_get_caps_reffed (peer);
+    caps = gst_pad_get_caps (peer, NULL);
 
     n = gst_caps_get_size (caps);
     for (i = 0; i < n; i++) {