Skip to content
Permalink
Browse files

VideoPlayer: notify gui when a change of playback speed occurs

  • Loading branch information...
FernetMenta authored and popcornmix committed Sep 28, 2016
1 parent a165e9c commit c7d04a4988c8161778b6283af0f6cb48171f9f3a
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -2803,6 +2803,9 @@ void CVideoPlayer::HandleMessages()
if (speed != DVD_PLAYSPEED_PAUSE && m_playSpeed != DVD_PLAYSPEED_PAUSE && speed != m_playSpeed)
m_callback.OnPlayBackSpeedChanged(speed / DVD_PLAYSPEED_NORMAL);

// notifiy GUI, skins may want to show the seekbar
g_infoManager.SetDisplayAfterSeek();

if (m_pInputStream->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER) && speed != m_playSpeed)
{
CDVDInputStreamPVRManager* pvrinputstream = static_cast<CDVDInputStreamPVRManager*>(m_pInputStream);

0 comments on commit c7d04a4

Please sign in to comment.
You can’t perform that action at this time.