X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/19b9689ab36c01096cdb672d8c54c176808e0894..a1555389b4c9715fab8f65ae0179af113ee680dd:/lib/service/servicedvb.cpp diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index d49c5f6d..f805ee70 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -652,8 +652,9 @@ RESULT eDVBServicePlay::seekRelative(int direction, pts_t to) if (m_service_handler.getPVRChannel(pvr_channel)) return -1; - /* this is of couse wrong: PTS values don't match with bytes. */ - return pvr_channel->seekToPosition(SEEK_CUR, direction * to); + to *= direction; + + return pvr_channel->seekTo(1, to); } RESULT eDVBServicePlay::getPlayPosition(pts_t &pos)