git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
0d076f4
)
Merge branch 'master' of /home/tmbinc/enigma2-git
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 19 Apr 2009 21:33:44 +0000
(23:33 +0200)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 19 Apr 2009 21:33:44 +0000
(23:33 +0200)
lib/service/servicedvb.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicedvb.cpp
b/lib/service/servicedvb.cpp
index b3ce13daf6337b401c65f08f287e766f23f641df..0e6229c5126d582e68faf72409b82d5ad2fe0d00 100644
(file)
--- a/
lib/service/servicedvb.cpp
+++ b/
lib/service/servicedvb.cpp
@@
-2444,11
+2444,16
@@
void eDVBServicePlay::cutlistToCuesheet()
std::multiset<cueEntry>::iterator i(m_cue_entries.begin());
+ int have_any_span = 0;
+
while (1)
{
if (i == m_cue_entries.end())
+ {
+ if (!have_any_span)
+ break;
out = length;
- else {
+
}
else {
if (i->what == 0) /* in */
{
in = i++->where;
@@
-2472,7
+2477,10
@@
void eDVBServicePlay::cutlistToCuesheet()
out = length;
if (in < out)
+ {
+ have_any_span = 1;
m_cue->addSourceSpan(in, out);
+ }
in = length;