mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
va: caps: added gst_caps_is_raw()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1667>
This commit is contained in:
parent
6a8fa67f42
commit
482e93b4d8
2 changed files with 7 additions and 0 deletions
|
@ -504,3 +504,9 @@ gst_caps_is_vamemory (GstCaps * caps)
|
|||
{
|
||||
return _caps_is (caps, "memory:VAMemory");
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_caps_is_raw (GstCaps * caps)
|
||||
{
|
||||
return _caps_is (caps, GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY);
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ gboolean gst_caps_set_format_array (GstCaps * caps,
|
|||
|
||||
gboolean gst_caps_is_dmabuf (GstCaps * caps);
|
||||
gboolean gst_caps_is_vamemory (GstCaps * caps);
|
||||
gboolean gst_caps_is_raw (GstCaps * caps);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue