diff options
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer/src')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |
