[longomatch/livecapture2: 2/31] Change size properties' name to Output
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/livecapture2: 2/31] Change size properties' name to Output
- Date: Mon, 3 May 2010 22:38:58 +0000 (UTC)
commit 1db79f393a6ad83daa6bd394088da9103f0ffafe
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 206159a..5fa1880 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]