Lines Matching refs:error_text
231 gchar *error_text = NULL; in gst_wasapi2_util_get_error_message() local
233 error_text = g_win32_error_message ((gint) hr); in gst_wasapi2_util_get_error_message()
234 if (!error_text || strlen (error_text) == 0) { in gst_wasapi2_util_get_error_message()
235 g_free (error_text); in gst_wasapi2_util_get_error_message()
236 error_text = g_strdup (hresult_to_string_fallback (hr)); in gst_wasapi2_util_get_error_message()
239 return error_text; in gst_wasapi2_util_get_error_message()
250 gchar *error_text = NULL; in _gst_wasapi2_result() local
253 error_text = g_win32_error_message ((gint) hr); in _gst_wasapi2_result()
256 if (!error_text || strlen (error_text) == 0) { in _gst_wasapi2_result()
257 g_free (error_text); in _gst_wasapi2_result()
258 error_text = (gchar *) hresult_to_string_fallback (hr); in _gst_wasapi2_result()
264 NULL, "WASAPI call failed: 0x%x, %s", (guint) hr, error_text); in _gst_wasapi2_result()
267 g_free (error_text); in _gst_wasapi2_result()