Skip to content

Commit

Permalink
Merge pull request #39 from ua0lnj/master
Browse files Browse the repository at this point in the history
Fixed drm card selection. Version 1.7.1.
  • Loading branch information
ua0lnj authored Apr 26, 2024
2 parents 3758b4d + 8b3805e commit 73132a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mpv.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "menu_options.h"
#include "mpv_service.h"

static const char *VERSION = "1.7.0"
static const char *VERSION = "1.7.1"
#ifdef GIT_REV
"-GIT" GIT_REV
#endif
Expand Down
2 changes: 1 addition & 1 deletion player.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ void cMpvPlayer::PlayerGetDRM()
drmModeConnector *connector;
drmModeModeInfo mode;

fd = open("/dev/dri/card0", O_RDWR);
fd = open(drm_dev, O_RDWR);
if (fd < 0) return;

resources = drmModeGetResources(fd);
Expand Down

0 comments on commit 73132a1

Please sign in to comment.