MacOSX / QTKit capture: trying to fix invalid timer call
authorMaksim Shabunin <maksim.shabunin@itseez.com>
Tue, 2 Feb 2016 09:45:41 +0000 (12:45 +0300)
committerMaksim Shabunin <maksim.shabunin@itseez.com>
Tue, 2 Feb 2016 11:30:37 +0000 (14:30 +0300)
modules/videoio/src/cap_qtkit.mm

index bdbbd2d..ad6037b 100644 (file)
@@ -93,6 +93,8 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer
 - (int)updateImage;
 - (IplImage*)getOutput;
 
+- (void)doFireTimer:(NSTimer *)timer;
+
 @end
 
 /*****************************************************************************
@@ -622,6 +624,11 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer
     return 1;
 }
 
+- (void)doFireTimer:(NSTimer *)timer {
+    (void)timer;
+    // dummy
+}
+
 @end