[longomatch/livecapture2: 5/31] Add new struct to store encoding porperties



commit 30e5fe5af6450d47f35c2f9e9ba3730495150cec
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Apr 16 21:19:50 2010 +0200

    Add new struct to store encoding porperties

 CesarPlayer/Capturer/CaptureProperties.cs |   37 +++++++++++++++++++++++++++++
 CesarPlayer/CesarPlayer.mdp               |    3 +-
 2 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/CesarPlayer/Capturer/CaptureProperties.cs b/CesarPlayer/Capturer/CaptureProperties.cs
new file mode 100644
index 0000000..8029e41
--- /dev/null
+++ b/CesarPlayer/Capturer/CaptureProperties.cs
@@ -0,0 +1,37 @@
+// 
+//  Copyright (C) 2010 Andoni Morales Alastruey
+// 
+//  This program is free software; you can redistribute it and/or modify
+//  it under the terms of the GNU General Public License as published by
+//  the Free Software Foundation; either version 2 of the License, or
+//  (at your option) any later version.
+// 
+//  This program is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//  GNU General Public License for more details.
+//  
+//  You should have received a copy of the GNU General Public License
+//  along with this program; if not, write to the Free Software
+//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+// 
+
+using System;
+
+namespace LongoMatch.Video.Capturer
+{
+	
+	
+	public struct CapturePropertiesStruct
+	{
+		public string VideoDevice;
+		public string AudioDevice;
+		public uint VideoBitrate;
+		public uint AudioBitrate;
+		public GccVideoEncoderType VideoEncoder;
+		public GccAudioEncoderType AudioEncoder;
+		public GccVideoMuxerType Muxer;
+		public uint Height;
+		public uint Width;
+	}
+}
diff --git a/CesarPlayer/CesarPlayer.mdp b/CesarPlayer/CesarPlayer.mdp
index 8579e0f..61878a9 100644
--- a/CesarPlayer/CesarPlayer.mdp
+++ b/CesarPlayer/CesarPlayer.mdp
@@ -77,6 +77,7 @@
     <File name="Capturer/GstCameraCapturer.cs" subtype="Code" buildaction="Compile" />
     <File name="Capturer/GccType.cs" subtype="Code" buildaction="Compile" />
     <File name="gtk-gui/LongoMatch.Gui.CapturerBin.cs" subtype="Code" buildaction="Compile" />
+    <File name="Capturer/CaptureProperties.cs" subtype="Code" buildaction="Compile" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
@@ -97,4 +98,4 @@
     <AsmRefVar Name="REFERENCES" />
     <ProjectRefVar Name="REFERENCES" />
   </MonoDevelop.Autotools.MakefileInfo>
-</Project>
\ No newline at end of file
+</Project>



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