mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 07:31:48 +00:00
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:
parent
92c4be4b6e
commit
5e38e03980
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user