Skip to content

Commit

Permalink
VideoPlayer: fix incorrectly accessed members in SetPlaySpeed
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Jan 22, 2016
1 parent 08544ed commit caf27f3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions xbmc/cores/VideoPlayer/VideoPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2945,12 +2945,10 @@ void CVideoPlayer::SetPlaySpeed(int speed)
if (IsPlaying())
m_messenger.Put(new CDVDMsgInt(CDVDMsg::PLAYER_SETSPEED, speed));
else
{
m_playSpeed = speed;

m_VideoPlayerAudio->SetSpeed(speed);
m_VideoPlayerVideo->SetSpeed(speed);
m_streamPlayerSpeed = speed;
SynchronizeDemuxer(100);
m_streamPlayerSpeed = speed;
}
}

bool CVideoPlayer::CanPause()
Expand Down

0 comments on commit caf27f3

Please sign in to comment.