vulkan/swapper: check queue present return later
authorMatthew Waters <matthew@centricular.com>
Fri, 23 Aug 2019 04:20:59 +0000 (14:20 +1000)
committerMatthew Waters <matthew@centricular.com>
Wed, 28 Aug 2019 10:34:39 +0000 (10:34 +0000)
commit09883b6a6be644a7bc80ffdea409a812b010b3f4
tree18803ace322b7a331a037f1a1704f51f1725e8e4
parentd1f8f7436d7177c726f7fa747187b1cda52808f4
vulkan/swapper: check queue present return later

During resizes, the VkQueuePresent can return OUT_OF_DATE and if a buffer
is displayed returning OUT_OF_DATE it would error out and stop the pipeline.

We already have a explicit check for OUT_OF_DATE and the same general
error check in the statements following so just use that code.
gst-libs/gst/vulkan/gstvkswapper.c