fix audiotype
[enigma2.git] / 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;