mirror of
https://github.com/mpv-player/mpv
synced 2025-04-10 11:41:37 +00:00
remove stupid misadvice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12065 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bfc0ecf9fa
commit
70d700b8cd
@ -1089,7 +1089,7 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
|
|||||||
{
|
{
|
||||||
// seteuid(0); /* Can't hurt to try to get root here */
|
// seteuid(0); /* Can't hurt to try to get root here */
|
||||||
if ((rtc_fd = open("/dev/rtc", O_RDONLY)) < 0)
|
if ((rtc_fd = open("/dev/rtc", O_RDONLY)) < 0)
|
||||||
mp_msg(MSGT_CPLAYER, MSGL_WARN, "Failed to open /dev/rtc: %s (mplayer should be setuid root or /dev/rtc should be readable by the user.)\n", strerror(errno));
|
mp_msg(MSGT_CPLAYER, MSGL_WARN, "Failed to open /dev/rtc: %s (/dev/rtc should be readable by the user.)\n", strerror(errno));
|
||||||
else {
|
else {
|
||||||
unsigned long irqp = 1024; /* 512 seemed OK. 128 is jerky. */
|
unsigned long irqp = 1024; /* 512 seemed OK. 128 is jerky. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user