aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-01-05 18:50:00 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-01-05 18:50:49 +0100
commitbfdb564afd26ddcb8b0a11834c4edb363d2842a3 (patch)
tree4ec77cdd7b32430bcceec88bfb4a284a92785ffa /lib/service
parentc430cd50ce7bc9e0a91bccb558e54dafc8d5ef75 (diff)
downloadenigma2-bfdb564afd26ddcb8b0a11834c4edb363d2842a3.tar.gz
enigma2-bfdb564afd26ddcb8b0a11834c4edb363d2842a3.zip
servicedvb.cpp: fix handling for single IN cut (needed when only the start of a movie is cutted away)
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/servicedvb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index c7bb5d99..615329c9 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -2576,7 +2576,7 @@ void eDVBServicePlay::cutlistToCuesheet()
{
if (i == m_cue_entries.end())
{
- if (!have_any_span)
+ if (!have_any_span && !in)
break;
out = length;
} else {
@@ -2606,6 +2606,7 @@ void eDVBServicePlay::cutlistToCuesheet()
{
have_any_span = 1;
m_cue->addSourceSpan(in, out);
+ in = out = 0;
}
in = length;