aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-08-24 13:09:29 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-08-24 13:09:29 +0000
commit2d30f6d03db0b0da0b3677d04180c1ba56709a6c (patch)
tree88a9191d69b684f0d9fed4941d771731a9ba9c9a
parent3361460b4274e5fcbe0ec39e702ab16f69129c4f (diff)
downloadenigma2-2d30f6d03db0b0da0b3677d04180c1ba56709a6c.tar.gz
enigma2-2d30f6d03db0b0da0b3677d04180c1ba56709a6c.zip
always return currently active apid
-rw-r--r--lib/service/servicedvb.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index f175b07e..99474a86 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -1194,7 +1194,7 @@ int eDVBServicePlay::getInfo(int w)
case sIsCrypted: return program.isCrypted();
case sVideoPID: if (program.videoStreams.empty()) return -1; return program.videoStreams[0].pid;
case sVideoType: if (program.videoStreams.empty()) return -1; return program.videoStreams[0].type;
- case sAudioPID: if (program.audioStreams.empty()) return -1; return program.audioStreams[m_current_audio_stream].pid;
+ case sAudioPID: if (program.audioStreams.empty()) return -1; return program.audioStreams[0].pid;
case sPCRPID: return program.pcrPid;
case sPMTPID: return program.pmtPid;
case sTXTPID: return program.textPid;
@@ -1322,8 +1322,6 @@ int eDVBServicePlay::selectAudioStream(int i)
}
}
- m_current_audio_stream = i;
-
return 0;
}
@@ -1782,7 +1780,6 @@ void eDVBServicePlay::updateDecoder()
m_decoder->setPCMDelay(pcm_delay == -1 ? 0 : pcm_delay);
m_decoder->setVideoPID(vpid, vpidtype);
- m_current_audio_stream = 0;
m_decoder->setAudioPID(apid, apidtype);
if (!(m_is_pvr || m_timeshift_active || !m_is_primary))
{