Commit a08d333e authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

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
parent e80c044c
......@@ -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; \
} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment