vkswapper: keep a reference on the input buffer until present is finished
authorMatthew Waters <matthew@centricular.com>
Thu, 6 Feb 2020 05:39:06 +0000 (16:39 +1100)
committerMatthew Waters <matthew@centricular.com>
Tue, 18 Feb 2020 04:52:22 +0000 (15:52 +1100)
commitbd31caf0b0d06bf539ab8cdbeb50082dacc2b15d
tree1de38539f2b5db41fa0153c0ef8bd7ab1e75883f
parent96a407334d7ce81b6bcca2341e777261e7babf74
vkswapper: keep a reference on the input buffer until present is finished

Otherwise, there may be a very small period of time where the buffer can
be freed while being presented.
gst-libs/gst/vulkan/gstvkswapper.c