[longomatch] Set the correct mode in the fake analysis component



commit 0b02b1c986d9212a3c7d98150de8978fe1e09143
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Oct 28 01:09:45 2014 +0100

    Set the correct mode in the fake analysis component

 .../gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs    |    1 +
 .../Gui/Component/FakeAnalysisComponent.cs         |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs 
b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
index 3ed805e..e7aa78a 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerCapturerBin.cs
@@ -101,6 +101,7 @@ namespace LongoMatch.Gui
                        this.capturerbin = new global::LongoMatch.Gui.CapturerBin ();
                        this.capturerbin.Events = ((global::Gdk.EventMask)(256));
                        this.capturerbin.Name = "capturerbin";
+                       this.capturerbin.Capturing = false;
                        this.capturerbox.Add (this.capturerbin);
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.capturerbox 
[this.capturerbin]));
                        w9.Position = 1;
diff --git a/LongoMatch.GUI/Gui/Component/FakeAnalysisComponent.cs 
b/LongoMatch.GUI/Gui/Component/FakeAnalysisComponent.cs
index e38843e..5fe0af0 100644
--- a/LongoMatch.GUI/Gui/Component/FakeAnalysisComponent.cs
+++ b/LongoMatch.GUI/Gui/Component/FakeAnalysisComponent.cs
@@ -30,7 +30,7 @@ namespace LongoMatch.Gui.Component
                public FakeAnalysisComponent ()
                {
                        this.Build ();
-                       capturerbin.Mode = CapturerType.Live;
+                       capturerbin.Mode = CapturerType.Fake;
                }
                #region IAnalysisWindow implementation
                public void SetProject (Project project, ProjectType projectType, CaptureSettings props, 
EventsFilter filter)


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