summaryrefslogtreecommitdiffstats
path: root/osdep/windows_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* windows_utils: try and use FormatMessage for errors.Kevin Mitchell2016-02-171-2/+22
| | | | | | This is useful in particular for GetLastError, unfortunately, it's stil pretty dumb with regards to WASAPI or D3D specific errors, so keep the hresult_to_string switch.
* dxva2: use mp_HESULT_to_str on FAILED(hr)Kevin Mitchell2016-02-161-0/+35
|
* ao_wasapi: move out some utility functionswm42016-01-111-0/+97
Note that hresult_to_str() (coming from wasapi_explain_err()) is mostly wasapi-specific, but since HRESULT error codes are unique, it can be extended for any other use.