videoio: refactor GStreamer backend
authorAlexander Alekhin <alexander.alekhin@intel.com>
Mon, 17 Jun 2019 16:33:02 +0000 (19:33 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 20 Jun 2019 14:48:18 +0000 (17:48 +0300)
commit8ab6efb8c0e4f71c1161d817c7670e2865ff732e
treefc5d9c7389b82515a11c8ee590ee5849d2c9e5e3
parentab24325df3e87b3f3838756b305113a3d3a9a2e5
videoio: refactor GStreamer backend

- exception safe smart pointers, fixed many memory leaks
- fixed errors handling
- fixed strings handling
- fixed file existence check
- fixed toFraction() implementation
- add 'drop=true' for v4l2 input
- avoid overriding custom pipelines sink's 'max-buffers' value
- updated valgrind supression rules
- added support for GStreamer native leaks tracking (via gst_deinit() call)
- repaired capturing through GStreamer0.10 (fixed CV_8UC1)
modules/videoio/src/cap_gstreamer.cpp
modules/videoio/src/precomp.hpp
platforms/scripts/valgrind.supp
platforms/scripts/valgrind_3rdparty.supp