1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

videoio: added '.getBackendName()' method

This commit is contained in:
Alexander Alekhin
2018-09-15 20:54:03 +00:00
parent 15e9e3304c
commit b35fbff675
23 changed files with 69 additions and 17 deletions
@@ -403,6 +403,8 @@ public:
}
~MotionJpegWriter() { close(); }
virtual int getCaptureDomain() const CV_OVERRIDE { return cv::CAP_OPENCV_MJPEG; }
void close()
{
if( !container.isOpenedStream() )