git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45364af
)
store position when 1..99% and not 5..95%
author
Felix Domke
<tmbinc@elitedvb.net>
Wed, 7 May 2008 12:35:24 +0000
(12:35 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Wed, 7 May 2008 12:35:24 +0000
(12:35 +0000)
lib/service/servicedvb.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicedvb.cpp
b/lib/service/servicedvb.cpp
index cd4d3394cc90efe0f987783b9ec7b842ebc17f68..0da33635085d71d560fb8edf7fd27db8ef9664a3 100644
(file)
--- 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;