[longomatch/longomatch-0.16] Fix gstreamer initialization



commit de51e19bcb88672251b69baeff2e0ad62e17918e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Aug 30 21:44:20 2011 +0200

    Fix gstreamer initialization

 LongoMatch/Common/GStreamer.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch/Common/GStreamer.cs b/LongoMatch/Common/GStreamer.cs
index 49ad1ce..999ea3f 100644
--- a/LongoMatch/Common/GStreamer.cs
+++ b/LongoMatch/Common/GStreamer.cs
@@ -27,7 +27,7 @@ namespace LongoMatch.Common
 	{
 		
 		[DllImport("libgstreamer-0.10.dll") /* willfully unmapped */ ]
-		static extern void gst_init (string argv);
+		static extern void gst_init (int argc, string argv);
 		[DllImport("libgstreamer-0.10.dll") /* willfully unmapped */ ]
 		static extern IntPtr gst_registry_get_default ();
 		[DllImport("libgstreamer-0.10.dll") /* willfully unmapped */ ]
@@ -40,7 +40,7 @@ namespace LongoMatch.Common
 		
 		public static void Init() {
 			SetUpEnvironment ();
-			gst_init ("");
+			gst_init (0, "");
 		}
 		
 		public static bool CheckInstallation () {



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