From: Sebastian Dröge Date: Mon, 16 May 2011 15:08:45 +0000 (+0200) Subject: playsink: Use correct number of parameters to gst_pad_get_caps() X-Git-Tag: RELEASE-0.11.0~280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01c798605aed07fa37040e012d32dc3beac88702;p=platform%2Fupstream%2Fgst-plugins-base.git playsink: Use correct number of parameters to gst_pad_get_caps() --- diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 80601c37c..141e0aeaf 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -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++) {