Skip to content

Commit

Permalink
Merge pull request xbmc#2641 from popcornmix/fix_volume_jump
Browse files Browse the repository at this point in the history
[rbp/omxplayer] Fix audio volume jumps when switching tracks
  • Loading branch information
huceke committed Apr 21, 2013
2 parents 273b064 + 067058c commit 48b61aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/omxplayer/OMXPlayer.cpp
Expand Up @@ -1302,7 +1302,7 @@ void COMXPlayer::Process()
if (IsBetterStream(m_CurrentSubtitle, pStream)) OpenSubtitleStream(pStream->iId, pStream->source);
if (IsBetterStream(m_CurrentTeletext, pStream)) OpenTeletextStream(pStream->iId, pStream->source);

if(m_change_volume)
if(m_change_volume && m_CurrentAudio.started)
{
m_player_audio.SetCurrentVolume(m_current_mute ? VOLUME_MINIMUM : m_current_volume);
m_change_volume = false;
Expand Down

0 comments on commit 48b61aa

Please sign in to comment.