X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/463c8a2b0f3ccac8d7e93656eb4ccdfea46fa202..358afcd6beee2a68020dec915bebabd5f3e2a61e:/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp index bbcb1f2b..26a3ba39 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp @@ -593,7 +593,10 @@ RESULT eServiceDVD::getPlayPosition(pts_t &pos) pos += info.pos_minutes * 60; pos += info.pos_seconds; // eDebug("getPlayPosition %lld", pos); - pos *= 90000; + if ( pos > 0 && pos < 32768 ) + pos *= 90000; + else + pos = 0; return 0; }