Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2641 from popcornmix/fix_volume_jump

[rbp/omxplayer] Fix audio volume jumps when switching tracks
  • Loading branch information...
commit 48b61aa40e009df4199863cf990aa642b38c500a 2 parents 273b064 + 067058c
huceke huceke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/omxplayer/OMXPlayer.cpp
2  xbmc/cores/omxplayer/OMXPlayer.cpp
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.