[longomatch/livecapture: 3/9] Change size properties' name to Output



commit 843db5580dac8b13f63959af25a48b8321f79769
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Mar 28 21:56:49 2010 +0200

    Change size properties' name to Output

 CesarPlayer/Capturer/FakeCapturer.cs      |    4 ++--
 CesarPlayer/Capturer/GstCameraCapturer.cs |   16 ++++++++--------
 CesarPlayer/Capturer/ICapturer.cs         |    4 ++--
 3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/CesarPlayer/Capturer/FakeCapturer.cs b/CesarPlayer/Capturer/FakeCapturer.cs
index a453ffa..594ac82 100644
--- a/CesarPlayer/Capturer/FakeCapturer.cs
+++ b/CesarPlayer/Capturer/FakeCapturer.cs
@@ -75,12 +75,12 @@ namespace LongoMatch.Video.Capturer
 			started = true;
 		}
 		
-		public uint EncodeWidth {
+		public uint OutputWidth {
 			get{return 0;} 
 			set{}
 		}
 
-		public uint EncodeHeight {
+		public uint OutputHeight {
 			get{return 0;}
 			set{}
 		}
diff --git a/CesarPlayer/Capturer/GstCameraCapturer.cs b/CesarPlayer/Capturer/GstCameraCapturer.cs
index 7b4d9ac..50f05ce 100644
--- a/CesarPlayer/Capturer/GstCameraCapturer.cs
+++ b/CesarPlayer/Capturer/GstCameraCapturer.cs
@@ -45,32 +45,32 @@ namespace LongoMatch.Video.Capturer {
 			if (error != IntPtr.Zero) throw new GLib.GException (error);
 		}
 
-		[GLib.Property ("encode_height")]
-		public uint EncodeHeight {
+		[GLib.Property ("output_height")]
+		public uint OutputHeight {
 			get {
-				GLib.Value val = GetProperty ("encode_height");
+				GLib.Value val = GetProperty ("output_height");
 				uint ret = (uint) val;
 				val.Dispose ();
 				return ret;
 			}
 			set {
 				GLib.Value val = new GLib.Value(value);
-				SetProperty("encode_height", val);
+				SetProperty("output_height", val);
 				val.Dispose ();
 			}
 		}
 
-		[GLib.Property ("encode_width")]
-		public uint EncodeWidth {
+		[GLib.Property ("output_width")]
+		public uint OutputWidth {
 			get {
-				GLib.Value val = GetProperty ("encode_width");
+				GLib.Value val = GetProperty ("output_width");
 				uint ret = (uint) val;
 				val.Dispose ();
 				return ret;
 			}
 			set {
 				GLib.Value val = new GLib.Value(value);
-				SetProperty("encode_width", val);
+				SetProperty("output_width", val);
 				val.Dispose ();
 			}
 		}
diff --git a/CesarPlayer/Capturer/ICapturer.cs b/CesarPlayer/Capturer/ICapturer.cs
index 86ee6eb..ae77d8c 100644
--- a/CesarPlayer/Capturer/ICapturer.cs
+++ b/CesarPlayer/Capturer/ICapturer.cs
@@ -29,12 +29,12 @@ namespace LongoMatch.Video.Capturer
 	{	
 		event EllpasedTimeHandler EllapsedTime;
 			
-		uint EncodeWidth {
+		uint OutputWidth {
 			get ;
 			set ;
 		}
 
-		uint EncodeHeight {
+		uint OutputHeight {
 			get;
 			set ;
 		}



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