Skip to content
This repository
Browse code

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 authored April 21, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/cores/omxplayer/OMXPlayer.cpp
2  xbmc/cores/omxplayer/OMXPlayer.cpp
@@ -1302,7 +1302,7 @@ void COMXPlayer::Process()
1302 1302
     if (IsBetterStream(m_CurrentSubtitle, pStream)) OpenSubtitleStream(pStream->iId, pStream->source);
1303 1303
     if (IsBetterStream(m_CurrentTeletext, pStream)) OpenTeletextStream(pStream->iId, pStream->source);
1304 1304
 
1305  
-    if(m_change_volume)
  1305
+    if(m_change_volume && m_CurrentAudio.started)
1306 1306
     {
1307 1307
       m_player_audio.SetCurrentVolume(m_current_mute ? VOLUME_MINIMUM : m_current_volume);
1308 1308
       m_change_volume = false;

0 notes on commit 48b61aa

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