X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fservice%2Fservicedvb.cpp;h=558bf0c22cd0273428aa24577915a72b6182df3c;hp=9f10644cec451692cf2a24fbad74606a46b16e19;hb=a37ddbb7785de5f1d944f4937a5b2914ce6a3862;hpb=83a674f998012f616a3ed7e7b7043e498fd93e09 diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index 9f10644..558bf0c 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1128,11 +1128,7 @@ RESULT eDVBServicePlay::stop() if (length) { - int perc = play_position * 100LL / length; - - /* 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_cue_entries.insert(cueEntry(play_position, 3)); /* last play position */ } m_cuesheet_changed = 1; }