aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2016-01-16 14:32:19 +0100
committerRainer Hochecker <fernetmenta@online.de>2016-01-16 14:43:57 +0100
commite9049a69db3216a9ab28f825b2c29a8cec1de850 (patch)
tree157f5e9010feafa208617d2418fd5acfb24562cc
parent05e89990904343d411361fc45f3cab850a2d102a (diff)
VideoPlayer: allow dts of video streams to jump bach more up to 500ms - if those streams have no dts, dts equals pts
-rw-r--r--xbmc/cores/dvdplayer/DVDPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
index 9c0b5cc3b0..e4a2cfcc93 100644
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -2128,7 +2128,7 @@ void CDVDPlayer::CheckContinuity(CCurrentStream& current, DemuxPacket* pPacket)
}
/* if it's large scale jump, correct for it after having confirmed the jump */
- if(pPacket->dts + DVD_MSEC_TO_TIME(100) < current.dts_end())
+ if(pPacket->dts + DVD_MSEC_TO_TIME(500) < current.dts_end())
{
CLog::Log(LOGDEBUG, "CDVDPlayer::CheckContinuity - resync backward :%d, prev:%f, curr:%f, diff:%f"
, current.type, current.dts, pPacket->dts, pPacket->dts - current.dts);