mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
ao_wasapi: don't treat SetDisplayName() failure as fatal
Same for SetIconPath().
This commit is contained in:
@@ -449,7 +449,8 @@ static HRESULT init_session_display(struct wasapi_state *state) {
|
||||
exit_label:
|
||||
MP_ERR(state, "Error setting audio session display name: %s (0x%"PRIx32")\n",
|
||||
wasapi_explain_err(hr), (uint32_t)hr);
|
||||
return hr;
|
||||
// No reason to abort initialization.
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT fix_format(struct ao *ao)
|
||||
|
||||
Reference in New Issue
Block a user