From 9aaa27d46b1c43f8e8b0e6cad2993ab73de542b1 Mon Sep 17 00:00:00 2001 From: Philipp Hasper Date: Wed, 27 May 2015 07:55:41 +0200 Subject: [PATCH] Adding missing docs for VideoWriter::release --- modules/videoio/include/opencv2/videoio.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/videoio/include/opencv2/videoio.hpp b/modules/videoio/include/opencv2/videoio.hpp index 46c60bd..c1a48a3 100644 --- a/modules/videoio/include/opencv2/videoio.hpp +++ b/modules/videoio/include/opencv2/videoio.hpp @@ -645,7 +645,6 @@ public: The method opens video writer. Parameters are the same as in the constructor VideoWriter::VideoWriter. - */ CV_WRAP virtual bool open(const String& filename, int fourcc, double fps, Size frameSize, bool isColor = true); @@ -653,6 +652,12 @@ public: /** @brief Returns true if video writer has been successfully initialized. */ CV_WRAP virtual bool isOpened() const; + + /** @brief Closes the video writer. + + The methods are automatically called by subsequent VideoWriter::open and by the VideoWriter + destructor. + */ CV_WRAP virtual void release(); virtual VideoWriter& operator << (const Mat& image); -- 2.7.4