fix audiotype
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 26 Aug 2007 12:23:37 +0000 (12:23 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 26 Aug 2007 12:23:37 +0000 (12:23 +0000)
lib/service/servicedvb.cpp

index 582e3f39c9efbbc214a6f8ac6aed3634cc670c7f..43a78bb434d56398488af43d47d7e74e2aab31f5 100644 (file)
@@ -1745,7 +1745,7 @@ int eDVBServicePlay::selectAudioStream(int i)
        if (((unsigned int)stream) < program.audioStreams.size())
        {
                apid = program.audioStreams[stream].pid;
-               apidtype = apidtype;
+               apidtype = program.audioStreams[stream].type;
        }
 
        m_current_audio_pid = apid;