projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06dd831
)
Fixed karaoke lyrics delay when the whole words are assigned the same time.
author
George Yunaev
<oldnemesis@xbmc>
Fri, 27 Dec 2013 07:47:13 +0000
(23:47 -0800)
committer
George Yunaev
<oldnemesis@xbmc>
Fri, 27 Dec 2013 07:47:13 +0000
(23:47 -0800)
xbmc/music/karaoke/karaokelyricstext.cpp
patch
|
blob
|
history
diff --git
a/xbmc/music/karaoke/karaokelyricstext.cpp
b/xbmc/music/karaoke/karaokelyricstext.cpp
index
2fc40a4
..
5ecaa53
100644
(file)
--- a/
xbmc/music/karaoke/karaokelyricstext.cpp
+++ b/
xbmc/music/karaoke/karaokelyricstext.cpp
@@
-260,7
+260,9
@@
void CKaraokeLyricsText::Render()
case STATE_PLAYING_PARAGRAPH:
if ( songTime >= m_lyrics[ m_index ].timing )
{
- m_index++;
+ while ( songTime >= m_lyrics[ m_index ].timing && m_index <= m_indexEndPara )
+ m_index++;
+
updateText = true;
if ( m_index > m_indexEndPara )