X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/5b1ffb7f189a2ebf1389595fe2e33ef816805480..9672c9e353abdc56784d21567fdb32c03a9aa0b7:/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; }