diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2011-02-04 11:04:33 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2011-02-04 11:04:33 +0100 |
| commit | 423b12c94b41e0f7e9a7715b06ba7f479c197780 (patch) | |
| tree | bb627789abb72f781e6f624ee7d2040b9a9bd256 /lib | |
| parent | ce38faaf7ce4c1320fa42109c13a60d74ab8cd9c (diff) | |
| download | enigma2-423b12c94b41e0f7e9a7715b06ba7f479c197780.tar.gz enigma2-423b12c94b41e0f7e9a7715b06ba7f479c197780.zip | |
add support/demux policy for dm7020hd
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dvb/dvb.cpp | 4 | ||||
| -rw-r--r-- | lib/dvb/dvb.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp index 414ab8da..6c353c34 100644 --- a/lib/dvb/dvb.cpp +++ b/lib/dvb/dvb.cpp @@ -98,6 +98,8 @@ eDVBResourceManager::eDVBResourceManager() m_boxtype = DM500HD; else if (!strncmp(tmp, "dm800se\n", rd)) m_boxtype = DM800SE; + else if (!strncmp(tmp, "dm7020hd\n", rd)) + m_boxtype = DM7020HD; else { eDebug("boxtype detection via /proc/stb/info not possible... use fallback via demux count!\n"); if (m_demux.size() == 3) @@ -520,7 +522,7 @@ RESULT eDVBResourceManager::allocateDemux(eDVBRegisteredFrontend *fe, ePtr<eDVBA } } } - else if (m_boxtype == DM8000) + else if (m_boxtype == DM8000 || m_boxtype == DM7020HD) { cap |= capHoldDecodeReference; // this is checked in eDVBChannel::getDemux for (; i != m_demux.end(); ++i, ++n) diff --git a/lib/dvb/dvb.h b/lib/dvb/dvb.h index f612affb..33490148 100644 --- a/lib/dvb/dvb.h +++ b/lib/dvb/dvb.h @@ -135,7 +135,7 @@ class eDVBResourceManager: public iObject, public Object DECLARE_REF(eDVBResourceManager); int avail, busy; - enum { DM7025, DM800, DM500HD, DM800SE, DM8000 }; + enum { DM7025, DM800, DM500HD, DM800SE, DM8000, DM7020HD }; int m_boxtype; |
