vaapivideomemory: Try surface with allocation flags.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 27 Jan 2020 17:19:57 +0000 (18:19 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 23 Feb 2020 12:12:15 +0000 (13:12 +0100)
commitfab890ceb522e7f27bd8fc615e6052e22ff8ff4b
tree5050a47646ea62d3f7c88cb3fbcd4551d6a772b5
parentdd428cc4a12c2d5c694fcd3303811cf486002c9d
vaapivideomemory: Try surface with allocation flags.

When a vaapi allocator is instantiated, it first try to generate a
surface with the specified configuration.

This patch adds, in this tried buffer, the requested allocation flags.
gst/vaapi/gstvaapivideomemory.c