vo_gpu: hwdec_drmprime_drm: silence error on failed autoprobing

When autoprobing the hwdec interops (which now happens to all compiled
interops if hardware decoding is used), failure to load an interop
should not print an error in the normal case. So hide it.

(We could make the log level conditional on whether autoprobing is used,
but directly loading it without autoprobing is obscure, and most other
interops don't do this either.)
This commit is contained in:
wm4 2017-12-11 06:12:30 +01:00 committed by Jan Ekström
parent 92c4be4b6e
commit 5e38e03980
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ static int init(struct ra_hwdec *hw)
gl ? (struct mpv_opengl_cb_drm_params *)
mpgl_get_native_display(gl, "opengl-cb-drm-params") : NULL;
if (!params) {
MP_ERR(hw, "Could not get drm interop info.\n");
MP_VERBOSE(hw, "Could not get drm interop info.\n");
goto err;
}