va: h264enc: Do not use USAGE_HINT_ENCODER for input pool.
authorHe Junyan <junyan.he@intel.com>
Fri, 1 Apr 2022 14:47:07 +0000 (22:47 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 2 Apr 2022 06:23:03 +0000 (06:23 +0000)
commit976356e159bba917d1e38587c74eee5028b5358d
tree0c6d9ac13d6634c049353681c9676c440335243d
parent5ba4fe690ce06bdf28fbfd23d168cc592eea4518
va: h264enc: Do not use USAGE_HINT_ENCODER for input pool.

It seems that the VA_SURFACE_ATTRIB_USAGE_HINT_ENCODER is used only
for the recon surfaces, if we set this flags for input raw surfaces,
the alignment is wrong and we get broken result.

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