git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1521658
)
hack to seek GOP-wise
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 28 Feb 2006 01:45:00 +0000
(
01:45
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 28 Feb 2006 01:45:00 +0000
(
01:45
+0000)
lib/service/servicedvb.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicedvb.cpp
b/lib/service/servicedvb.cpp
index 4f392a6a576b06f9e6a7dde060fe0c5663527379..8ff07250d611618d97190f8b95e03b1026c52886 100644
(file)
--- 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;
}