[longomatch/newui: 129/157] Only create a independent frames capturer for file projects



commit bc7984f7d6046592a28e4116ea41c92853760c7c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Aug 28 20:30:44 2014 +0200

    Only create a independent frames capturer for file projects

 LongoMatch.Services/Services/EventsManager.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/EventsManager.cs b/LongoMatch.Services/Services/EventsManager.cs
index f4f1bf1..30ef943 100644
--- a/LongoMatch.Services/Services/EventsManager.cs
+++ b/LongoMatch.Services/Services/EventsManager.cs
@@ -63,7 +63,9 @@ namespace LongoMatch.Services
                        if (project == null)
                                return;
                                
-                       framesCapturer.Open (openedProject.Description.File.FilePath);
+                       if (projectType == ProjectType.FileProject) {
+                               framesCapturer.Open (openedProject.Description.File.FilePath);
+                       }
                        this.analysisWindow = analysisWindow;
                        player = analysisWindow.Player;
                        capturer = analysisWindow.Capturer;


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