[longomatch] Fix hang adding a new play from the timeline when a play is loaded



commit 2aa15f994d5e693f334ccd16e397b743a0989134
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Nov 16 20:26:21 2010 +0100

    Fix hang adding a new play from the timeline when a play is loaded

 LongoMatch/Handlers/EventsManager.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Handlers/EventsManager.cs b/LongoMatch/Handlers/EventsManager.cs
index 55b5814..753c190 100644
--- a/LongoMatch/Handlers/EventsManager.cs
+++ b/LongoMatch/Handlers/EventsManager.cs
@@ -236,6 +236,7 @@ namespace LongoMatch
 		protected virtual void OnNewMarkAtFrame(int section, int frame) {
 
 			Time pos = new Time(frame*1000/openedProject.File.Fps);
+			player.CloseActualSegment();
 			player.SeekTo ((long)pos.MSeconds, true);
 			ProcessNewMarkEvent(section,pos);
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]