diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2011-01-28 12:45:16 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2011-01-28 12:45:16 +0100 |
| commit | c9839b5bbd097c884d979e43531ddbbcca9fa162 (patch) | |
| tree | 74ba38e3c76d01dc07bd72dc8a7d3c600ccb9941 /lib/dvb/demux.cpp | |
| parent | 44fb836216b0873cbd2de53029cbe6cd56f24ee1 (diff) | |
| download | enigma2-master-2011.02.tar.gz enigma2-master-2011.02.zip | |
no more use proprietary /dev/misc/pvr .. use linux tv api /dev/dvb/adapterX/dvrXmaster-2011.02
this needs new hardware drivers!!
fixed bug #672
Diffstat (limited to 'lib/dvb/demux.cpp')
| -rw-r--r-- | lib/dvb/demux.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index 0c736c55..37eae19f 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(void) +{ + char filename[128]; + snprintf(filename, 128, "/dev/dvb/adapter%d/dvr%d", adapter, demux); + return ::open(filename, O_WRONLY); +} + DEFINE_REF(eDVBDemux) RESULT eDVBDemux::setSourceFrontend(int fenum) |
