From 5e38e039806c758bb97ee2d99a2e3e9423dce4df Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 11 Dec 2017 06:12:30 +0100 Subject: 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.) --- video/out/opengl/hwdec_drmprime_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/opengl/hwdec_drmprime_drm.c b/video/out/opengl/hwdec_drmprime_drm.c index ed95d4da14..691779a02e 100644 --- a/video/out/opengl/hwdec_drmprime_drm.c +++ b/video/out/opengl/hwdec_drmprime_drm.c @@ -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; } -- cgit v1.2.3