mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
playsink: Use correct number of parameters to gst_pad_get_caps()
This commit is contained in:
parent
d0362c2b87
commit
01c798605a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue