[Bug 778020] New: opencv: Don't store C++ types directly in C structs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 1 11:46:44 UTC 2017


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

            Bug ID: 778020
           Summary: opencv: Don't store C++ types directly in C structs
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: luisbg at ubuntu.com, nicolas at ndufresne.ca,
                    philippe_renon at yahoo.fr
     GNOME version: ---

See 

commit 718c4140fac99c2fa7cdb25860566d2d9fa0eec3
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Wed Feb 1 13:44:37 2017 +0200

    dewarp: Store C++ types as pointers in C structs

    Otherwise the destructor will never be called, and we would have to call
    the constructors manually at some point... which we never did, so
    calling release() on it before it got otherwise initialized caused a
    crash. For example when running gst-inspect-1.0.

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