mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
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
1 changed files with 0 additions and 4 deletions
|
@ -402,10 +402,6 @@ gst_va_base_transform_decide_allocation (GstBaseTransform * trans,
|
|||
}
|
||||
|
||||
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 =
|
||||
gst_va_base_transform_allocator_from_caps (self, outcaps)))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue