va: Delete the useless align expand in va_pool_set_config().
authorHe Junyan <junyan.he@intel.com>
Wed, 2 Jun 2021 16:07:05 +0000 (00:07 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Jun 2021 15:16:39 +0000 (15:16 +0000)
commit98cf9ce6f57eae508e216c02d6201c131c9a133b
tree5ddddb3d9ad93bc31fa12578366eafdee1a63130
parent03d3e0fe73e196ba79168445c622f6e9fad9edbf
va: Delete the useless align expand in va_pool_set_config().

The base va decoder's video_align is just used for calculation the
real decoded buffer's width and height. While the gst_video_info_align
just calculate the offset and stride based on the video_align. But
all the offsets and strides are overwritten in gst_va_dmabuf_allocator_try
or gst_va_allocator_try, which make that calculation useless.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2298>
sys/va/gstvapool.c