Roman Donchenko d6a7a6d503 VideoCapture: copy the captured frame, to avoid dangling Mats
Previously, VideoCapture::retrieve would return a Mat that referenced
the internal IplImage. Since the latter is rewritten every time a
frame is captured, it means that if the user captures two frames in a row,
the first frame would reference nothing. Similar if a user captures a frame,
then destroys the VideoCapture instance.

Note that the other branch of the if isn't affected, since flip allocates
a new Mat.
2013-10-29 18:47:08 +04:00
..
2013-08-21 18:59:25 +04:00
2013-08-12 11:19:53 +02:00
2013-08-21 18:59:25 +04:00
2013-08-21 18:59:26 +04:00
2013-10-25 16:08:14 +04:00
2013-08-21 18:59:25 +04:00
2013-06-25 03:35:30 -07:00
2013-08-21 18:59:24 +04:00
2013-08-21 18:59:25 +04:00
2012-10-22 20:33:14 +04:00
2012-10-22 20:33:14 +04:00
2013-05-13 17:07:30 +04:00
2013-08-21 18:59:25 +04:00
2012-10-22 20:33:14 +04:00
2013-02-19 14:13:11 +04:00
2013-06-06 11:15:00 +01:00
2010-07-16 09:12:15 +00:00
2013-05-20 12:06:25 +02:00