va: Delete the usage hint hack when we support DRM modifier
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4044>
This commit is contained in:
parent
d0587cda74
commit
72e4bcf4df
@ -402,10 +402,6 @@ gst_va_base_transform_decide_allocation (GstBaseTransform * trans,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!allocator) {
|
if (!allocator) {
|
||||||
/* XXX(victor): USAGE_HINT_VPP_WRITE creates tiled dmabuf frames
|
|
||||||
* in iHD */
|
|
||||||
if (gst_caps_is_dmabuf (outcaps) && GST_VIDEO_INFO_IS_RGB (&vinfo))
|
|
||||||
usage_hint = VA_SURFACE_ATTRIB_USAGE_HINT_GENERIC;
|
|
||||||
if (!(allocator =
|
if (!(allocator =
|
||||||
gst_va_base_transform_allocator_from_caps (self, outcaps)))
|
gst_va_base_transform_allocator_from_caps (self, outcaps)))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user