projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
bf6c910
)
Merge pull request #2908 from popcornmix/update_pts_resync
author
huceke
<ebsi4711@gmail.com>
Tue, 25 Jun 2013 06:59:15 +0000
(23:59 -0700)
committer
huceke
<ebsi4711@gmail.com>
Tue, 25 Jun 2013 06:59:15 +0000
(23:59 -0700)
[rbp/omxplayer] Update pts on resync message
xbmc/cores/omxplayer/OMXPlayerVideo.cpp
patch
|
blob
|
history
diff --git
a/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
b/xbmc/cores/omxplayer/OMXPlayerVideo.cpp
index
42f067f
..
bb5c74e
100644
(file)
--- a/
xbmc/cores/omxplayer/OMXPlayerVideo.cpp
+++ b/
xbmc/cores/omxplayer/OMXPlayerVideo.cpp
@@
-337,6
+337,10
@@
void OMXPlayerVideo::Process()
else if (pMsg->IsType(CDVDMsg::GENERAL_RESYNC))
{
CDVDMsgGeneralResync* pMsgGeneralResync = (CDVDMsgGeneralResync*)pMsg;
+
+ if(pMsgGeneralResync->m_timestamp != DVD_NOPTS_VALUE)
+ pts = pMsgGeneralResync->m_timestamp;
+
CLog::Log(LOGDEBUG, "COMXPlayerVideo - CDVDMsg::GENERAL_RESYNC(%f, %d)", pts, pMsgGeneralResync->m_clock);
pMsgGeneralResync->Release();
continue;