diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-10-05 17:24:39 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-10-05 17:24:39 +0000 |
| commit | 8964693920977ec8a494fea6b4aeac4bbc016b65 (patch) | |
| tree | 61d28c422f760e890f1c0aa99631b35ca05c297b /lib | |
| parent | ede88e3c8dfa89fd0a26138d91bd4cbf1a137c5e (diff) | |
| download | enigma2-8964693920977ec8a494fea6b4aeac4bbc016b65.tar.gz enigma2-8964693920977ec8a494fea6b4aeac4bbc016b65.zip | |
write apid to pidcache when no value is cached
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/service/servicedvb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index a3450b89..9f4cc7a1 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1786,7 +1786,8 @@ int eDVBServicePlay::selectAudioStream(int i) anything in the best case, or destroy the default setting in case the real default is not yet available.) */ - if (m_dvb_service && !m_is_pvr && (i != -1)) + if (m_dvb_service && !m_is_pvr && ((i != -1) + || ((m_dvb_service->getCacheEntry(eDVBService::cAPID) == -1) && (m_dvb_service->getCacheEntry(eDVBService::cAC3PID)==-1)))) { if (apidtype == eDVBAudio::aMPEG) { |
