mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-14 15:43:03 +00:00
wasapi: Print the hresult hex value on error
This helps figure out precisely what error enum value was returned, which can be necessary when the description is too generic
This commit is contained in:
parent
9c3258fbfb
commit
b623ac2da9
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
do { \
|
||||
if (hr != S_OK) { \
|
||||
gchar *msg = gst_wasapi_util_hresult_to_string (hr); \
|
||||
GST_ERROR_OBJECT (self, #func " failed: %s", msg); \
|
||||
GST_ERROR_OBJECT (self, #func " failed (%x): %s", hr, msg); \
|
||||
g_free (msg); \
|
||||
and; \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue