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_vaapi.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_vaapi.c')
-rw-r--r-- | video/out/vo_vaapi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index c8ffffcb1e..c94fbf56f7 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -866,6 +866,11 @@ static int preinit(struct vo *vo) vo->hwdec_devs = hwdec_devices_create(); hwdec_devices_add(vo->hwdec_devs, &p->mpvaapi->hwctx); + 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 VA-API support via hwdec=vaapi or vaapi-copy.\n"); + return 0; fail: |