mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
in dvb_get_config() open the frontend in READ_ONLY mode for probing (worksaround some buggy driver)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21852 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
44ecf39567
commit
3f4d9c9c09
@ -765,7 +765,7 @@ dvb_config_t *dvb_get_config(void)
|
||||
for(i=0; i<MAX_CARDS; i++)
|
||||
{
|
||||
sprintf(filename, "/dev/dvb/adapter%d/frontend0", i);
|
||||
fd = open(filename, O_RDWR | O_NONBLOCK);
|
||||
fd = open(filename, O_RDONLY|O_NONBLOCK);
|
||||
if(fd < 0)
|
||||
{
|
||||
mp_msg(MSGT_DEMUX, MSGL_V, "DVB_CONFIG, can't open device %s, skipping\n", filename);
|
||||
|
Loading…
Reference in New Issue
Block a user