mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
convert: use new caps
This commit is contained in:
parent
81457756f0
commit
7e97391195
1 changed files with 1 additions and 2 deletions
|
@ -31,8 +31,7 @@ caps_are_raw (const GstCaps * caps)
|
|||
|
||||
for (i = 0; i < len; i++) {
|
||||
GstStructure *st = gst_caps_get_structure (caps, i);
|
||||
if (gst_structure_has_name (st, "video/x-raw-yuv") ||
|
||||
gst_structure_has_name (st, "video/x-raw-rgb"))
|
||||
if (gst_structure_has_name (st, "video/x-raw"))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue