aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/subtitle.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-09-17 10:54:24 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-09-17 10:54:24 +0000
commit7e3fc622d3a9dfcec4009d3fff223c6303e497ab (patch)
treefe61509c3a0d654df10dbfd3df880b2007cb9862 /lib/dvb/subtitle.cpp
parent659560951dce9e327d7ec9dd220138b0c8145b88 (diff)
downloadenigma2-7e3fc622d3a9dfcec4009d3fff223c6303e497ab.tar.gz
enigma2-7e3fc622d3a9dfcec4009d3fff223c6303e497ab.zip
clear non processed subtitles on skip forward / backward
Diffstat (limited to 'lib/dvb/subtitle.cpp')
-rw-r--r--lib/dvb/subtitle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/dvb/subtitle.cpp b/lib/dvb/subtitle.cpp
index b0c90222..7ae49db5 100644
--- a/lib/dvb/subtitle.cpp
+++ b/lib/dvb/subtitle.cpp
@@ -748,10 +748,10 @@ int eDVBSubtitleParser::subtitle_process_segment(__u8 *segment)
void eDVBSubtitleParser::subtitle_process_pes(__u8 *pkt, int len)
{
- //eDebugNoNewLine("subtitle_process_pes");
+ eDebugNoNewLine("subtitle_process_pes");
if (!extract_pts(m_show_time, pkt))
{
- //eDebug(" %lld", m_show_time);
+ eDebug(" %lld", m_show_time);
pkt += 6; len -= 6;
// skip PES header
pkt++; len--;
@@ -786,8 +786,8 @@ void eDVBSubtitleParser::subtitle_process_pes(__u8 *pkt, int len)
if (len && *pkt != 0xFF)
eDebug("strange data at the end");
}
- //else
- //eDebug("\ndvb subtitle packet without PTS.. ignore!!");
+ else
+ eDebug("\ndvb subtitle packet without PTS.. ignore!!");
}
void eDVBSubtitleParser::subtitle_redraw_all()