projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e92208
)
[fix] reset subtitle delay on activation of new sub file from python, lost in b14343b...
author
amet
<amet.nospam@gmail.com>
Tue, 6 Nov 2012 18:25:12 +0000
(22:25 +0400)
committer
amet
<amet.nospam@gmail.com>
Tue, 6 Nov 2012 18:25:12 +0000
(22:25 +0400)
xbmc/interfaces/legacy/Player.cpp
patch
|
blob
|
history
diff --git
a/xbmc/interfaces/legacy/Player.cpp
b/xbmc/interfaces/legacy/Player.cpp
index
8ad5e06
..
449a24d
100644
(file)
--- a/
xbmc/interfaces/legacy/Player.cpp
+++ b/
xbmc/interfaces/legacy/Player.cpp
@@
-372,6
+372,8
@@
namespace XBMCAddon
{
g_application.m_pPlayer->SetSubtitle(nStream);
g_application.m_pPlayer->SetSubtitleVisible(true);
+ g_settings.m_currentVideoSettings.m_SubtitleDelay = 0.0f;
+ g_application.m_pPlayer->SetSubTitleDelay(g_settings.m_currentVideoSettings.m_SubtitleDelay);
}
}
}