MacOSX / QTKit capture: trying to fix invalid timer call

pull/6051/head
Maksim Shabunin 9 years ago
parent 35014a9742
commit a2bda99921
  1. 7
      modules/videoio/src/cap_qtkit.mm

@ -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

Loading…
Cancel
Save