Permalink
Browse files

VideoPlayer: fix incorrectly accessed members in SetPlaySpeed

  • Loading branch information...
FernetMenta authored and popcornmix committed Jan 21, 2016
1 parent 93c9fec commit 2493c8ced3ca8b86cdb2e3fd18cd6c3dcc6d59d1
Showing with 3 additions and 5 deletions.
  1. +3 −5 xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -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()

0 comments on commit 2493c8c

Please sign in to comment.