Skip to content
Browse files

fixed: current audio stream var not properly inited.

closes #12173, thanks to jhsrennie
  • Loading branch information...
1 parent b97d317 commit 6e8e06f6a0dee59a083b6051e4c87f09be2a2767 spiff committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/video/windows/GUIWindowFullScreen.cpp
View
3 xbmc/video/windows/GUIWindowFullScreen.cpp
@@ -394,6 +394,9 @@ bool CGUIWindowFullScreen::OnAction(const CAction &action)
if (g_application.m_pPlayer->GetAudioStreamCount() == 1)
return true;
+ if(g_settings.m_currentVideoSettings.m_AudioStream < 0)
+ g_settings.m_currentVideoSettings.m_AudioStream = g_application.m_pPlayer->GetAudioStream();
+
g_settings.m_currentVideoSettings.m_AudioStream++;
if (g_settings.m_currentVideoSettings.m_AudioStream >= g_application.m_pPlayer->GetAudioStreamCount())
g_settings.m_currentVideoSettings.m_AudioStream = 0;

0 comments on commit 6e8e06f

Please sign in to comment.
Something went wrong with that request. Please try again.