aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicedvb.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-28 01:45:00 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-28 01:45:00 +0000
commit77899dbcdd418844bb0749eeb2538b87eed4c83f (patch)
tree9c580a7ad60489a0f2d86f03c4a4588786757e13 /lib/service/servicedvb.cpp
parent152165863017eb70db9d824db5a087527824a721 (diff)
downloadenigma2-77899dbcdd418844bb0749eeb2538b87eed4c83f.tar.gz
enigma2-77899dbcdd418844bb0749eeb2538b87eed4c83f.zip
hack to seek GOP-wise
Diffstat (limited to 'lib/service/servicedvb.cpp')
-rw-r--r--lib/service/servicedvb.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index 4f392a6a..8ff07250 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -837,12 +837,18 @@ RESULT eDVBServicePlay::seekRelative(int direction, pts_t to)
if ((m_timeshift_enabled ? m_service_handler_timeshift : m_service_handler).getPVRChannel(pvr_channel))
return -1;
+ int mode = 1;
+
+ /* HACK until we have skip-AP api */
+ if ((to > 0) && (to < 100))
+ mode = 2;
+
to *= direction;
if (!m_cue)
return 0;
- m_cue->seekTo(1, to);
+ m_cue->seekTo(mode, to);
return 0;
}