From e9049a69db3216a9ab28f825b2c29a8cec1de850 Mon Sep 17 00:00:00 2001 From: Rainer Hochecker Date: Sat, 16 Jan 2016 14:32:19 +0100 Subject: VideoPlayer: allow dts of video streams to jump bach more up to 500ms - if those streams have no dts, dts equals pts --- xbmc/cores/dvdplayer/DVDPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3