projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes bug #288
[vuplus_dvbapp]
/
lib
/
service
/
servicedvb.cpp
diff --git
a/lib/service/servicedvb.cpp
b/lib/service/servicedvb.cpp
index
c7bb5d9
..
1a3cb0e
100644
(file)
--- a/
lib/service/servicedvb.cpp
+++ b/
lib/service/servicedvb.cpp
@@
-1128,11
+1128,7
@@
RESULT eDVBServicePlay::stop()
if (length)
{
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;
}
}
m_cuesheet_changed = 1;
}
@@
-2576,7
+2572,7
@@
void eDVBServicePlay::cutlistToCuesheet()
{
if (i == m_cue_entries.end())
{
{
if (i == m_cue_entries.end())
{
- if (!have_any_span)
+ if (!have_any_span
&& !in
)
break;
out = length;
} else {
break;
out = length;
} else {
@@
-2606,6
+2602,7
@@
void eDVBServicePlay::cutlistToCuesheet()
{
have_any_span = 1;
m_cue->addSourceSpan(in, out);
{
have_any_span = 1;
m_cue->addSourceSpan(in, out);
+ in = out = 0;
}
in = length;
}
in = length;