diff options
author | wm4 <wm4@nowhere> | 2016-11-24 18:14:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-24 18:14:55 +0100 |
commit | 5aab17f833c9b6bb24bd6d5369fbca5c1efab1c7 (patch) | |
tree | a91257d7c1156ce00220eb404359eea8bf305c28 /video/out/opengl | |
parent | e89382f5f6c42cc5f4872aa4135b69bc3f09cccf (diff) | |
download | mpv-5aab17f833c9b6bb24bd6d5369fbca5c1efab1c7.tar.bz2 mpv-5aab17f833c9b6bb24bd6d5369fbca5c1efab1c7.tar.xz |
vo_opengl: hwdec_cuda: make some init errors verbose
Improves autoprobe behavior. This is equivalent to other hwdec interop
wrappers. If CUDA is just not available, it should remain silent.
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/hwdec_cuda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/hwdec_cuda.c b/video/out/opengl/hwdec_cuda.c index dfb55e8ce0..c3d2e34ae3 100644 --- a/video/out/opengl/hwdec_cuda.c +++ b/video/out/opengl/hwdec_cuda.c @@ -145,7 +145,7 @@ static int cuda_create(struct gl_hwdec *hw) int ret = 0, eret = 0; if (hw->gl->version < 210 && hw->gl->es < 300) { - MP_ERR(hw, "need OpenGL >= 2.1 or OpenGL-ES >= 3.0\n"); + MP_VERBOSE(hw, "need OpenGL >= 2.1 or OpenGL-ES >= 3.0\n"); return -1; } @@ -154,7 +154,7 @@ static int cuda_create(struct gl_hwdec *hw) bool loaded = cuda_load(); if (!loaded) { - MP_ERR(hw, "Failed to load CUDA symbols\n"); + MP_VERBOSE(hw, "Failed to load CUDA symbols\n"); return -1; } |