GNOME Bugzilla – Bug 739069
Gst.Init(ref string[] argv) throws AccessViolationException
Last modified: 2014-11-08 14:03:28 UTC
Initializing GStreamer by calling Gst.Init() works reliably. Initializing GStreamer by calling Gst.Init(ref string[] argv) throws AccessViolationException "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." My code looks like that: string[] arguments = Environment.GetCommandLineArgs(); Gst.Application.Init(ref arguments); My configuration: - Operating system: Windows 7 64-bit - My test application: C# .NET 4.0 WPF - GStreamer 1.4.3 binaries - Gstreamer-sharp built on Linux - The glue built on Windows using xDarkice's solution https://github.com/xDarkice/libgstreamersharpglue
Fixed in master.