1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

build: set default cdrom and dvd devices on linux

This commit is contained in:
Alessandro Ghedini 2014-06-30 10:53:59 +02:00
parent 1c0939cb80
commit 211ca98e9c

View File

@ -4,6 +4,7 @@ __cdrom_devices_map__ = {
'darwin': '/dev/disk1', 'darwin': '/dev/disk1',
'freebsd': '/dev/cd0', 'freebsd': '/dev/cd0',
'openbsd': '/dev/rcd0c', 'openbsd': '/dev/rcd0c',
'linux': '/dev/sr0',
'default': '/dev/cdrom' 'default': '/dev/cdrom'
} }
@ -13,6 +14,7 @@ __dvd_devices_map__ = {
'darwin': '/dev/rdiskN', 'darwin': '/dev/rdiskN',
'freebsd': '/dev/cd0', 'freebsd': '/dev/cd0',
'openbsd': '/dev/rcd0c', 'openbsd': '/dev/rcd0c',
'linux': '/dev/sr0',
'default': '/dev/dvd' 'default': '/dev/dvd'
} }