[Bug 726496] New: System.AccessViolationException when running Gst.Registry.ScanPath()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 17 02:02:55 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726496
  GStreamer | gst-sharp | 1.x

           Summary: System.AccessViolationException when running
                    Gst.Registry.ScanPath()
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-sharp
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: s.baus86 at gmx.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I'm trying to bind gstreamer-sharp to my application. Since it is developed on
Windows and Linux and also needs to run on both, we considered gstreamer to be
the correct project for an audio binding.

To the problem:
First we try to build on windows with gstreamer-1.x backend, using
gstreamer-sharp 0.99.

Steps to reproduced the problem:
1. Link gstreamer-sharp.dll to your project in xamarin (or monodevelop on
linux)
2. Use the following code:
SetDllDirectory("E:\\Programme (x86)\\gstreamer\\1.0\\x86\\bin");
Registry reg = Registry.Get();
reg.ScanPath("E:\\Programme (x86)\\gstreamer\\1.0\\x86\\lib\\gstreamer-1.0");
3. Get a System.AccessViolationException when entering the line
"reg.ScanPath()".

For those who ask, why I run SetDllDirectory: Gstreamer is NOT found on
windows, when entering it to the PATH variable of windows.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list