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 582e3f3..43a78bb 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;