summaryrefslogtreecommitdiffstats
path: root/linhes/mythtv/autoskip_reduce_commskip_jumpback.patch
blob: 2c05a87410ea7d7a26bf810b842675f29fb91a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/mythtv/libs/libmythtv/commbreakmap.cpp b/mythtv/libs/libmythtv/commbreakmap.cpp
index 66cacb1eb0..3afcea169c 100644
--- a/mythtv/libs/libmythtv/commbreakmap.cpp
+++ b/mythtv/libs/libmythtv/commbreakmap.cpp
@@ -257,8 +257,8 @@ bool CommBreakMap::DoSkipCommercials(uint64_t &jumpToFrame,
     {
         comm_msg = tr("Skipping Back.");
 
-        if (m_lastCommSkipStart > (2.0 * video_frame_rate))
-            m_lastCommSkipStart -= (long long) (2.0 * video_frame_rate);
+        if (m_lastCommSkipStart > (1.25 * video_frame_rate))
+            m_lastCommSkipStart -= (long long) (1.25 * video_frame_rate);
         m_lastCommSkipDirection = 0;
         m_lastCommSkipTime = time(nullptr);
         jumpToFrame = m_lastCommSkipStart;