From 8cfc87cf01a2dbd2c5ddd9ee40b6183f8ff9041a Mon Sep 17 00:00:00 2001 From: WANG Guoqin Date: Thu, 10 Mar 2016 02:49:10 +0800 Subject: [PATCH] MacOSX / QTKit capture: trying to fix invalid timer call --- modules/highgui/src/cap_qtkit.mm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/highgui/src/cap_qtkit.mm b/modules/highgui/src/cap_qtkit.mm index f2f7963aa..568e951fb 100644 --- a/modules/highgui/src/cap_qtkit.mm +++ b/modules/highgui/src/cap_qtkit.mm @@ -95,6 +95,8 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer - (int)updateImage; - (IplImage*)getOutput; +- (void)doFireTimer:(NSTimer *)timer; + @end /***************************************************************************** @@ -625,6 +627,11 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer return 1; } +- (void)doFireTimer:(NSTimer *)timer { + (void)timer; + // dummy +} + @end