mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
20f1bd45e6 | ||
|
7a7e09ff7a |
7
drm.c
7
drm.c
@@ -209,8 +209,11 @@ static int FindDevice(VideoRender *render) {
|
||||
int found = 0;
|
||||
render->fd_drm = open("/dev/dri/card0", O_RDWR);
|
||||
if (render->fd_drm < 0) {
|
||||
fprintf(stderr, "FindDevice: cannot open /dev/dri/card0: %m\n");
|
||||
return -errno;
|
||||
render->fd_drm = open("/dev/dri/card1", O_RDWR);
|
||||
if (render->fd_drm < 0) {
|
||||
fprintf(stderr, "FindDevice: cannot open /dev/dri/card0 or card1: %m\n");
|
||||
return -errno;
|
||||
}
|
||||
}
|
||||
|
||||
int ret = drmSetMaster(render->fd_drm);
|
||||
|
@@ -61,7 +61,7 @@ extern void ToggleLUT();
|
||||
/// vdr-plugin version number.
|
||||
/// Makefile extracts the version number for generating the file name
|
||||
/// for the distribution archive.
|
||||
static const char *const VERSION = "3.21"
|
||||
static const char *const VERSION = "3.22"
|
||||
#ifdef GIT_REV
|
||||
"-GIT" GIT_REV
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user