diff options
author | sfan5 <sfan5@live.de> | 2019-08-29 21:52:50 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-09-14 13:50:10 +0200 |
commit | 5c313f1f5965eb8f00c3d242d9e27e9612dc949b (patch) | |
tree | 4588cdc9ecfc66cfa3e99e5b73446744b41c697d /video/out/vo_vdpau.c | |
parent | fda45f4537b82ee4566e475367c78935da8cdc90 (diff) | |
download | mpv-5c313f1f5965eb8f00c3d242d9e27e9612dc949b.tar.bz2 mpv-5c313f1f5965eb8f00c3d242d9e27e9612dc949b.tar.xz |
vo: add warning message to vo_vaapi and vo_vdpau
These are a common source of bug reports, due to misconceptions that
they are required to make use of hardware decoding.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r-- | video/out/vo_vdpau.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 9871355330..6bbd4f9e92 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -1046,6 +1046,11 @@ static int preinit(struct vo *vo) vc->vdp->bitmap_surface_query_capabilities(vc->vdp_device, VDP_RGBA_FORMAT_A8, &vc->supports_a8, &(uint32_t){0}, &(uint32_t){0}); + MP_WARN(vo, "Warning: this compatibility VO is low quality and may " + "have issues with OSD, scaling, screenshots and more.\n" + "vo=gpu is the preferred choice in any case and " + "includes VDPAU support via hwdec=vdpau or vdpau-copy.\n"); + return 0; } |