[opencv] 10/19: delete video readers

Mattia Rizzolo mattia at debian.org
Tue Oct 4 17:51:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to annotated tag 2.4.12.3
in repository opencv.

commit 96a2edb3756af078d8d7752e2911687df6d1bf0f
Author: Ilya Lavrenov <ilya.lavrenov at itseez.com>
Date:   Mon Oct 12 00:37:46 2015 +0300

    delete video readers
    
    (cherry picked from commit 0d5b739d35e7a0c2d2b88db58994397ae969f468)
---
 modules/highgui/test/test_ffmpeg.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/highgui/test/test_ffmpeg.cpp b/modules/highgui/test/test_ffmpeg.cpp
index 09de119..31108f8 100644
--- a/modules/highgui/test/test_ffmpeg.cpp
+++ b/modules/highgui/test/test_ffmpeg.cpp
@@ -396,6 +396,10 @@ TEST(Highgui_Video_parallel_writers_and_readers, accuracy)
         if (code == 1)
             std::cerr << "Couldn't delete " << *i << std::endl;
     }
+
+    // delete the readers
+    for (std::vector<VideoCapture *>::iterator i = readers.begin(), end = readers.end(); i != end; ++i)
+        delete *i;
 }
 
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list