dewarp: Store C++ types as pointers in C structs
authorSebastian Dröge <sebastian@centricular.com>
Wed, 1 Feb 2017 11:44:37 +0000 (13:44 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 1 Feb 2017 11:44:37 +0000 (13:44 +0200)
commit718c4140fac99c2fa7cdb25860566d2d9fa0eec3
treed8de4ed51337e58d95a38325af6f065e76fdaa7e
parentd7bb3b55425b8b6f910fb331046757947896f9dc
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.
ext/opencv/gstdewarp.cpp
ext/opencv/gstdewarp.h