From 5aab17f833c9b6bb24bd6d5369fbca5c1efab1c7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 24 Nov 2016 18:14:55 +0100 Subject: 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. --- video/out/opengl/hwdec_cuda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video') 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; } -- cgit v1.2.3