diff options
author | ace20022 <ace20022@ymail.com> | 2013-10-05 15:42:10 +0200 |
---|---|---|
committer | ace20022 <ace20022@ymail.com> | 2013-10-20 16:34:56 +0200 |
commit | 354bd33d545072157e23e70ce9ebd10ff9f274f4 (patch) | |
tree | 70a58e3703318c8881dbd268360e8b32faa4e9f0 | |
parent | 800c344dab7313cf8689a479c655dda4f6ee1d9c (diff) |
[DVDPlayer] Set CMediaSettings::Get().GetCurrentVideoSettings().m_AudioStream on open/set.
-rw-r--r-- | xbmc/cores/dvdplayer/DVDPlayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp index c412b9f078..6751cddbf7 100644 --- a/xbmc/cores/dvdplayer/DVDPlayer.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp @@ -2751,6 +2751,7 @@ int CDVDPlayer::GetAudioStream() void CDVDPlayer::SetAudioStream(int iStream) { + CMediaSettings::Get().GetCurrentVideoSettings().m_AudioStream = iStream; m_messenger.Put(new CDVDMsgPlayerSetAudioStream(iStream)); SynchronizeDemuxer(100); } @@ -2871,7 +2872,7 @@ bool CDVDPlayer::OpenAudioStream(int iStream, int source, bool reset) /* audio normally won't consume full cpu, so let it have prio */ m_dvdPlayerAudio.SetPriority(GetPriority()+1); - + CMediaSettings::Get().GetCurrentVideoSettings().m_AudioStream = m_SelectionStreams.IndexOf(STREAM_AUDIO, source, iStream); return true; } |