[Bug 796287] New: C# BasicTutorial6 doesn't work in Windows

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 20 22:02:30 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796287

            Bug ID: 796287
           Summary: C# BasicTutorial6 doesn't work in Windows
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-sharp
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: tomislavtustonic at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 372254
  --> https://bugzilla.gnome.org/attachment.cgi?id=372254&action=edit
Modified version which imports a correct dll and doesn't crash on unknown type.

Hello

BasicTutorial6.cs doesn't work in Windows.
It imports g_quark_to_string from the Linux library and throws when printing
field information, because GstBitmask type is unknown.

Here's modified version. I have no idea how to make different DllImports for
different platforms.
I have also wrapped the calls in the PrintField function, so that it shows an
error message instead of crashing.

Hope it helps, 
Tom

-- 
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