diff options
author | Marcin Kurczewski <mkurczew@gmail.com> | 2015-04-18 21:10:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-18 21:20:45 +0200 |
commit | c96404d8243ffaea958b6d1ab16e73dd0aaf9276 (patch) | |
tree | 35b5821623da732c7aad78087972f275530762f4 /video/out/vo_drm.c | |
parent | 3313eba1bf5974b58cc4e1ed4e439bbd6bcd4e42 (diff) | |
download | mpv-c96404d8243ffaea958b6d1ab16e73dd0aaf9276.tar.bz2 mpv-c96404d8243ffaea958b6d1ab16e73dd0aaf9276.tar.xz |
vo_drm: fix logging problems with connectors
Logging was meant to be silenced only when user uses connector
auto-detection feature. If user supplies connector ID manually, he
should see exact reason why connecting to this specific connector
failed.
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r-- | video/out/vo_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c index c7501d3360..6bce25ea0e 100644 --- a/video/out/vo_drm.c +++ b/video/out/vo_drm.c @@ -295,7 +295,7 @@ static int modeset_prepare_dev(struct vo *vo, int fd, int conn_id, } conn = drmModeGetConnector(fd, res->connectors[conn_id]); - if (!is_connector_valid(vo, conn_id, conn, true)) { + if (!is_connector_valid(vo, conn_id, conn, false)) { ret = -ENODEV; goto end; } |