playsink: Use correct number of parameters to gst_pad_get_caps()
This commit is contained in:
parent
d0362c2b87
commit
01c798605a
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user