[longomatch/livecapture2: 19/31] Create a dummy File object for Capture projects to set the output file



commit ad110edb37d2ba10df610f50a5d2ea05d2b77eb0
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Apr 24 22:52:42 2010 +0200

    Create a dummy File object for Capture projects to set the output file

 LongoMatch/Gui/Component/ProjectDetailsWidget.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
index 1ebccea..21cbf04 100644
--- a/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
+++ b/LongoMatch/Gui/Component/ProjectDetailsWidget.cs
@@ -329,7 +329,10 @@ namespace LongoMatch.Gui.Component
 						mFile = new PreviewMediaFile();
 						mFile.FilePath = Constants.FAKE_PROJECT;
 						mFile.Fps = 25;
-					}					
+					} else if  (useType == ProjectType.CaptureProject){
+						mFile = new PreviewMediaFile();
+						mFile.FilePath = fileEntry.Text;
+					}
 					return new Project(mFile,
 					                   LocalName,
 					                   VisitorName,



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