aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/demux.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-02-16 14:36:53 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-02-16 14:36:53 +0100
commit0c417aee83bac3ab0a70d5e0b3360d18b3663a23 (patch)
tree4fbc37d651cd2e7e3f545b8077e64b7d69c1064d /lib/dvb/demux.cpp
parentdec9693d8437a31dab8e4010b33b57e1476a315c (diff)
parent2c4829db1915266f51900d5da0e98173c5b87148 (diff)
downloadenigma2-0c417aee83bac3ab0a70d5e0b3360d18b3663a23.tar.gz
enigma2-0c417aee83bac3ab0a70d5e0b3360d18b3663a23.zip
Merge branch 'bug_672_removed_pvr_device'
Conflicts: lib/dvb/dvb.cpp
Diffstat (limited to 'lib/dvb/demux.cpp')
-rw-r--r--lib/dvb/demux.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp
index 0c736c55..f4d86185 100644
--- a/lib/dvb/demux.cpp
+++ b/lib/dvb/demux.cpp
@@ -85,6 +85,13 @@ int eDVBDemux::openDemux(void)
return ::open(filename, O_RDWR);
}
+int eDVBDemux::openDVR(int flags)
+{
+ char filename[128];
+ snprintf(filename, 128, "/dev/dvb/adapter%d/dvr%d", adapter, demux);
+ return ::open(filename, flags);
+}
+
DEFINE_REF(eDVBDemux)
RESULT eDVBDemux::setSourceFrontend(int fenum)