From d60d3a19e5cbaf05024df7169d7a2ac48c6441d4 Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 8 Feb 2012 18:21:26 +0000 Subject: [PATCH] Fix for new precise vlc position when paused git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@969 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Logic/VideoPlayers/LibVlcDynamic.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Logic/VideoPlayers/LibVlcDynamic.cs b/src/Logic/VideoPlayers/LibVlcDynamic.cs index fba349b46..eb60364ce 100644 --- a/src/Logic/VideoPlayers/LibVlcDynamic.cs +++ b/src/Logic/VideoPlayers/LibVlcDynamic.cs @@ -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