mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
vkswapper: output specific values when swapchain flags fail
This commit is contained in:
parent
08928541c6
commit
332f1742d2
1 changed files with 6 additions and 3 deletions
|
@ -780,7 +780,8 @@ _allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
|
|||
} else {
|
||||
g_set_error (error, GST_VULKAN_ERROR,
|
||||
VK_ERROR_INITIALIZATION_FAILED,
|
||||
"Incorrect alpha flags available for the swap images");
|
||||
"Incorrect alpha flags (0x%x) available for the swap images",
|
||||
priv->surf_props.supportedCompositeAlpha);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -790,7 +791,8 @@ _allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
|
|||
} else {
|
||||
g_set_error (error, GST_VULKAN_ERROR,
|
||||
VK_ERROR_INITIALIZATION_FAILED,
|
||||
"Incorrect usage flags available for the swap images");
|
||||
"Incorrect usage flags (0x%x) available for the swap images",
|
||||
priv->surf_props.supportedUsageFlags);
|
||||
return FALSE;
|
||||
}
|
||||
if ((priv->
|
||||
|
@ -800,7 +802,8 @@ _allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
|
|||
} else {
|
||||
g_set_error (error, GST_VULKAN_ERROR,
|
||||
VK_ERROR_INITIALIZATION_FAILED,
|
||||
"Incorrect usage flags available for the swap images");
|
||||
"Incorrect usage flags (0x%x) available for the swap images",
|
||||
priv->surf_props.supportedUsageFlags);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue