[longomatch] Fix GStreamer initialization



commit 3711d467160f5f3bfe1545023fc66d021d71e73f
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Aug 30 21:44:50 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]