[longomatch] Fix screenshots of marks from the timeline



commit 9df819a2761268a2bf414318ebe603a73359f3da
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Sep 21 17:22:00 2010 +0200

    Fix screenshots of marks from the timeline
    
    When a new mark is created from the timeline, we need to seek to position
    first to get a valis screenshot

 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 3b7513e..334f18b 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.SeekTo ((long)pos.MSeconds, true);
 			ProcessNewMarkEvent(section,pos);
 		}
 



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