From b7c81c168024e4ca62c74ed762f8d52e3242a3ee Mon Sep 17 00:00:00 2001 From: mglae Date: Thu, 11 Jun 2020 19:05:23 +0200 Subject: [PATCH] EDL comskip: support commercial at 0:00 --- xbmc/cores/VideoPlayer/Edl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/cores/VideoPlayer/Edl.cpp b/xbmc/cores/VideoPlayer/Edl.cpp index 5e2b0d63189fe..a7b689de50af3 100644 --- a/xbmc/cores/VideoPlayer/Edl.cpp +++ b/xbmc/cores/VideoPlayer/Edl.cpp @@ -36,7 +36,7 @@ void CEdl::Clear() m_vecCuts.clear(); m_vecSceneMarkers.clear(); m_iTotalCutTime = 0; - m_lastCutTime = 0; + m_lastCutTime = -1; } bool CEdl::ReadEditDecisionLists(const CFileItem& fileItem, const float fFramesPerSecond)