aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/demux.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-02-15 20:38:41 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-02-15 20:38:41 +0100
commita995c63c0d6c24bbe23935b901bf735c18833adb (patch)
tree802a6980236d094bc2c481687597df1264919ff7 /lib/dvb/demux.cpp
parent6b01e6e3bc442668ae2b358130a8d9c12f4f8b60 (diff)
downloadenigma2-a995c63c0d6c24bbe23935b901bf735c18833adb.tar.gz
enigma2-a995c63c0d6c24bbe23935b901bf735c18833adb.zip
trade open flags to openPVR function
refs bug #672
Diffstat (limited to 'lib/dvb/demux.cpp')
-rw-r--r--lib/dvb/demux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp
index 37eae19f..f4d86185 100644
--- a/lib/dvb/demux.cpp
+++ b/lib/dvb/demux.cpp
@@ -85,11 +85,11 @@ int eDVBDemux::openDemux(void)
return ::open(filename, O_RDWR);
}
-int eDVBDemux::openDVR(void)
+int eDVBDemux::openDVR(int flags)
{
char filename[128];
snprintf(filename, 128, "/dev/dvb/adapter%d/dvr%d", adapter, demux);
- return ::open(filename, O_WRONLY);
+ return ::open(filename, flags);
}
DEFINE_REF(eDVBDemux)