Commit 8cfc87cf authored by WANG Guoqin's avatar WANG Guoqin

MacOSX / QTKit capture: trying to fix invalid timer call

parent ea049e14
...@@ -95,6 +95,8 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer ...@@ -95,6 +95,8 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer
- (int)updateImage; - (int)updateImage;
- (IplImage*)getOutput; - (IplImage*)getOutput;
- (void)doFireTimer:(NSTimer *)timer;
@end @end
/***************************************************************************** /*****************************************************************************
...@@ -625,6 +627,11 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer ...@@ -625,6 +627,11 @@ didDropVideoFrameWithSampleBuffer:(QTSampleBuffer *)sampleBuffer
return 1; return 1;
} }
- (void)doFireTimer:(NSTimer *)timer {
(void)timer;
// dummy
}
@end @end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment