MacOSX / QTKit capture: trying to fix invalid timer call

pull/6228/head
WANG Guoqin 9 years ago
parent ea049e147d
commit 8cfc87cf01
  1. 7
      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

Loading…
Cancel
Save