projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9362b4
)
[rbp/omxplayer] Update pts on resync message
author
popcornmix
<popcornmix@gmail.com>
Sun, 23 Jun 2013 15:11:47 +0000
(16:11 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Mon, 24 Jun 2013 13:17:41 +0000
(14:17 +0100)
This was remove in #2853 and is still required for avi streams with all frames having pts=DVD_NOPTS_VALUE
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;