aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-12-11 06:12:30 +0100
committerGravatar Jan Ekström <jeebjp@gmail.com>2017-12-11 20:50:50 +0200
commit5e38e039806c758bb97ee2d99a2e3e9423dce4df (patch)
tree67907eb0c2610a173c81878cb5a2eaa604cda33d /video/out
parent92c4be4b6e1d78705ee97d2c1bfc1355027c2c5e (diff)
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.)
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/hwdec_drmprime_drm.c2
1 files changed, 1 insertions, 1 deletions
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;
}