aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-05-07 12:35:24 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-05-07 12:35:24 +0000
commit7cb77075d9bfcbc948a8b02dcfc841a51c9473f1 (patch)
treedb48830a9460327cd592eb21bdda82b5a1427a3b /lib
parent45364af4f6ff01f3f3156f52262a456c77c59574 (diff)
downloadenigma2-7cb77075d9bfcbc948a8b02dcfc841a51c9473f1.tar.gz
enigma2-7cb77075d9bfcbc948a8b02dcfc841a51c9473f1.zip
store position when 1..99% and not 5..95%
Diffstat (limited to 'lib')
-rw-r--r--lib/service/servicedvb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index cd4d3394..0da33635 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -1220,8 +1220,8 @@ RESULT eDVBServicePlay::stop()
{
int perc = play_position * 100LL / length;
- /* only store last play position when between 5% and 95% */
- if ((5 < perc) && (perc < 95))
+ /* only store last play position when between 1% and 99% */
+ if ((1 < perc) && (perc < 99))
m_cue_entries.insert(cueEntry(play_position, 3)); /* last play position */
}
m_cuesheet_changed = 1;