vkswapper: add inherit support
Used on android
This commit is contained in:
parent
332f1742d2
commit
982e06ef87
@ -777,6 +777,9 @@ _allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
|
||||
} else if ((priv->surf_props.supportedCompositeAlpha &
|
||||
VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR) != 0) {
|
||||
alpha_flags = VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR;
|
||||
} else if ((priv->surf_props.supportedCompositeAlpha &
|
||||
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR) != 0) {
|
||||
alpha_flags = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR;
|
||||
} else {
|
||||
g_set_error (error, GST_VULKAN_ERROR,
|
||||
VK_ERROR_INITIALIZATION_FAILED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user