diff options
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UVideo.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Game/Code/Classes/UVideo.pas b/Game/Code/Classes/UVideo.pas index e03eb894..698fb2de 100644 --- a/Game/Code/Classes/UVideo.pas +++ b/Game/Code/Classes/UVideo.pas @@ -790,6 +790,9 @@ procedure TVideoPlayback_FFMpeg.SetPosition(Time: real); var SeekFlags: integer; begin + if not fVideoOpened then + Exit; + if (Time < 0) then Time := 0; |