Skip to content

Commit 73132a1

Browse files
authored
Merge pull request #39 from ua0lnj/master
Fixed drm card selection. Version 1.7.1.
2 parents 3758b4d + 8b3805e commit 73132a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mpv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "menu_options.h"
2020
#include "mpv_service.h"
2121

22-
static const char *VERSION = "1.7.0"
22+
static const char *VERSION = "1.7.1"
2323
#ifdef GIT_REV
2424
"-GIT" GIT_REV
2525
#endif

player.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ void cMpvPlayer::PlayerGetDRM()
479479
drmModeConnector *connector;
480480
drmModeModeInfo mode;
481481

482-
fd = open("/dev/dri/card0", O_RDWR);
482+
fd = open(drm_dev, O_RDWR);
483483
if (fd < 0) return;
484484

485485
resources = drmModeGetResources(fd);

0 commit comments

Comments
 (0)