Fix for new precise vlc position when paused

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@969 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2012-02-08 18:21:26 +00:00
parent b186b7fc02
commit d60d3a19e5

View File

@ -257,7 +257,11 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
get
{
if (_pausePosition != null)
{
if (_pausePosition < 0)
return 0;
return _pausePosition.Value;
}
return _libvlc_media_player_get_time(_mediaPlayer) / 1000.0;
}
set