mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
vulkan/error: add the error value in hex and decimal
Provides more information for what may be an 'Unknown' error.
This commit is contained in:
parent
5ab92e05d8
commit
be9c9e44f1
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ gst_vulkan_error_to_g_error (VkResult result, GError ** error,
|
|||
g_vasprintf (&string, format, args);
|
||||
va_end (args);
|
||||
|
||||
g_set_error (error, GST_VULKAN_ERROR, result, "%s: %s", result_str, string);
|
||||
g_set_error (error, GST_VULKAN_ERROR, result, "%s (0x%x, %i): %s", result_str,
|
||||
result, result, string);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue