[longomatch/livecapture2: 3/31] Add Run() to ICapturer interface
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/livecapture2: 3/31] Add Run() to ICapturer interface
- Date: Mon, 3 May 2010 22:39:03 +0000 (UTC)
commit feb13987775dd4a9ce84ff89a72911724c82f6fb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Mar 28 21:58:29 2010 +0200
Add Run() to ICapturer interface
CesarPlayer/Capturer/FakeCapturer.cs | 3 +++
CesarPlayer/Capturer/ICapturer.cs | 2 ++
CesarPlayer/Gui/CapturerBin.cs | 6 +++++-
3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/CesarPlayer/Capturer/FakeCapturer.cs b/CesarPlayer/Capturer/FakeCapturer.cs
index 594ac82..93f4ea6 100644
--- a/CesarPlayer/Capturer/FakeCapturer.cs
+++ b/CesarPlayer/Capturer/FakeCapturer.cs
@@ -68,6 +68,9 @@ namespace LongoMatch.Video.Capturer
}
}
+ public void Run(){
+ }
+
public void Start(){
timerID = GLib.Timeout.Add(100, OnTick);
lastStart = DateTime.Now;
diff --git a/CesarPlayer/Capturer/ICapturer.cs b/CesarPlayer/Capturer/ICapturer.cs
index ae77d8c..0b529cd 100644
--- a/CesarPlayer/Capturer/ICapturer.cs
+++ b/CesarPlayer/Capturer/ICapturer.cs
@@ -69,5 +69,7 @@ namespace LongoMatch.Video.Capturer
void Start();
void Stop();
+
+ void Run();
}
}
diff --git a/CesarPlayer/Gui/CapturerBin.cs b/CesarPlayer/Gui/CapturerBin.cs
index 420b902..230d493 100644
--- a/CesarPlayer/Gui/CapturerBin.cs
+++ b/CesarPlayer/Gui/CapturerBin.cs
@@ -108,7 +108,11 @@ namespace LongoMatch.Gui
capturer.Stop();
}
- public void SetVideoEncoder(LongoMatch.Video.Capturer.GccVideoEncoderType type){
+ public void Run(){
+ capturer.Run();
+ }
+
+ public void SetVideoEncoder(GccVideoEncoderType type){
capturer.SetVideoEncoder(type);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]