1
mirror of https://github.com/mpv-player/mpv synced 2024-09-12 23:45:53 +02:00
mpv/video/decode
wm4 991af7dfb1 video: reduce error message when loading hwdec backend fails
When using --hwdec=auto, about half of all systems will print:

    "[vdpau] Error when calling vdp_device_create_x11: 1"

this happens because usually mpv will be linked against both vdpau and
vaapi libs, but the drivers are not necessarily available. Then trying
to load a driver will fail. This is a normal part of probing, but the
error messages were printed anyway. Silence them by explicitly
distinguishing probing.

This pretty much goes through all the layers. We actually consider
loading hw backends for vo_opengl always "auto probed", even if a hw
backend is explicitly requested. In this case vd_lavc will print a
warning message anyway (adjust this message a bit).
2015-06-20 22:26:57 +02:00
..
dec_video.c player: make decoding cover art more robust 2015-06-18 18:39:46 +02:00
dec_video.h player: make decoding cover art more robust 2015-06-18 18:39:46 +02:00
dxva2.c dxva2: support HEVC 2015-05-14 17:44:48 +02:00
gpu_memcpy_sse4.h dxva2: gpu_memcpy: fix build for GCC 4.8.3 2014-10-26 13:56:41 +01:00
lavc.h vdpau: add support for the "new" libavcodec vdpau API 2015-05-28 21:56:13 +02:00
rpi.c RPI support 2015-03-29 16:09:56 +02:00
vaapi.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vd_lavc.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vd.h Update license headers 2015-04-13 12:10:01 +02:00
vda.c vda: add support for nv12 image formats 2015-05-13 19:57:39 +02:00
vdpau_old.c video: rename vdpau.c to vdpau_old.c 2015-05-28 21:56:09 +02:00
vdpau.c vdpau: add support for the "new" libavcodec vdpau API 2015-05-28 21:56:13 +02:00