[Bug 796890] New: d3d: d3d_wnd_proc (d3dhelper.c) raises an exception because sink is NULL at LOCK_SINK (sink);

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jul 28 23:09:58 UTC 2018


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

            Bug ID: 796890
           Summary: d3d: d3d_wnd_proc (d3dhelper.c) raises an exception
                    because sink is NULL at LOCK_SINK (sink);
    Classification: Platform
           Product: GStreamer
           Version: 1.14.2
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: marcos.ktn at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

At the function *d3d_wnd_proc* in the *d3dhelper.c* file, *GetProp* returns
NULL at this code:


GstD3DVideoSink *sink =
      (GstD3DVideoSink *) GetProp (hWnd, TEXT ("GstD3DVideoSink"));

Then it calls LOCK_SINK(NULL) here:

LOCK_SINK (sink);
proc = sink->d3d.orig_wnd_proc;
UNLOCK_SINK (sink);

And the program crashes at function *g_rec_mutex_get_impl* in the
*gthread-win32.c* file.

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