mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
e89382f5f6
commit
5aab17f833
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue