mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
tests: deal with lists of formats
This commit is contained in:
parent
37541750d2
commit
591ff74d7d
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ videoscale_get_allowed_caps_for_method (int method)
|
|||
gst_object_unref (pad);
|
||||
gst_object_unref (scale);
|
||||
|
||||
caps = gst_caps_normalize (caps);
|
||||
n = gst_caps_get_size (caps);
|
||||
ret = g_new0 (GstCaps *, n + 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue