[Bug 796440] New: Basic tutorial 5 runtime error due to invalid DllImport

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 28 23:59:34 UTC 2018


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

            Bug ID: 796440
           Summary: Basic tutorial 5 runtime error due to invalid
                    DllImport
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Windows
            Status: NEW
          Severity: minor
          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 372451
  --> https://bugzilla.gnome.org/attachment.cgi?id=372451&action=edit
Patch for invalid DllImport in BasicTutorial5.cs

Basic tutorial 5
(https://github.com/GStreamer/gstreamer-sharp/blob/master/samples/BasicTutorial5.cs)
crashes in the runtime because it can't find libgdk-win32-3.0-0.dll and
gdk_win32_drawable_get_handle.

It should be
[DllImport("libgdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gdk_win32_window_get_handle(IntPtr handle);

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