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 80601c37cdd827b4e4267d154491421e2bb621af..141e0aeaff3f4380a451fd3718e21340ce677bde 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++) {