Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

paplayer: fixes for seeking ff/rw

  • Loading branch information...
commit 07091477db4e1b55a60e317dfb3bdd0adb7e3d40 1 parent b81e051
@FernetMenta FernetMenta authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  xbmc/cores/paplayer/PAPlayer.cpp
View
3  xbmc/cores/paplayer/PAPlayer.cpp
@@ -707,6 +707,7 @@ inline bool PAPlayer::ProcessStream(StreamInfo *si, double &delay, double &buffe
si->m_framesSent = (int)(si->m_seekFrame - ((float)si->m_startOffset * (float)si->m_sampleRate) / 1000.0f);
si->m_seekFrame = -1;
m_playerGUIData.m_time = time; //update for GUI
+ si->m_seekNextAtFrame = 0;
}
/* if its FF/RW */
else
@@ -720,7 +721,7 @@ inline bool PAPlayer::ProcessStream(StreamInfo *si, double &delay, double &buffe
if (time < si->m_startOffset || si->m_framesSent < 0)
{
time = si->m_startOffset;
- si->m_framesSent = (int)(si->m_startOffset * si->m_sampleRate / 1000);
+ si->m_framesSent = 0;
si->m_seekNextAtFrame = 0;
ToFFRW(1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.