[longomatch/fakelive: 1/24] Clean up the capturer interface, remove run() and add CurrentTime property



commit 26ee31d9d097e5e7e35ff0a7b5f231add58bdf1c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Feb 17 21:15:43 2010 +0100

    Clean up the capturer interface, remove run() and add CurrentTime property

 CesarPlayer/Capturer/ICapturer.cs |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/CesarPlayer/Capturer/ICapturer.cs b/CesarPlayer/Capturer/ICapturer.cs
index 596bbe3..f91b099 100644
--- a/CesarPlayer/Capturer/ICapturer.cs
+++ b/CesarPlayer/Capturer/ICapturer.cs
@@ -25,8 +25,7 @@ namespace LongoMatch.Video.Capturer
 	
 	
 	public interface ICapturer
-	{
-		
+	{	
 		
 		uint EncodeWidth {
 			get ;
@@ -42,7 +41,6 @@ namespace LongoMatch.Video.Capturer
 			get ;
 			set ;
 		}
-
 				
 		uint VideoBitrate {
 			get;
@@ -53,8 +51,15 @@ namespace LongoMatch.Video.Capturer
 			get ;
 			set ;
 		}
+		
+		int CurrentTime {
+			get ;
+		}
+		
 		bool SetVideoEncoder(LongoMatch.Video.Capturer.GccVideoEncoderType type);
+		
 		bool SetAudioEncoder(LongoMatch.Video.Capturer.GccAudioEncoderType type);
+		
 		bool SetVideoMuxer(LongoMatch.Video.Capturer.GccVideoMuxerType type);
 		
 		void TogglePause();
@@ -62,7 +67,5 @@ namespace LongoMatch.Video.Capturer
 		void Start();
 		
 		void Stop();
-		
-		void Run();
 	}
 }



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