diff options
-rw-r--r-- | src/native/macosx/quicktime/net_java_sip_communicator_impl_neomedia_quicktime_QTCaptureDecompressedVideoOutput.m | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/native/macosx/quicktime/net_java_sip_communicator_impl_neomedia_quicktime_QTCaptureDecompressedVideoOutput.m b/src/native/macosx/quicktime/net_java_sip_communicator_impl_neomedia_quicktime_QTCaptureDecompressedVideoOutput.m index 6f7f66e..758219a 100644 --- a/src/native/macosx/quicktime/net_java_sip_communicator_impl_neomedia_quicktime_QTCaptureDecompressedVideoOutput.m +++ b/src/native/macosx/quicktime/net_java_sip_communicator_impl_neomedia_quicktime_QTCaptureDecompressedVideoOutput.m @@ -75,9 +75,11 @@ Java_net_java_sip_communicator_impl_neomedia_quicktime_QTCaptureDecompressedVide captureDecompressedVideoOutput = (QTCaptureDecompressedVideoOutput *) ptr; autoreleasePool = [[NSAutoreleasePool alloc] init]; - [captureDecompressedVideoOutput - setAutomaticallyDropsLateVideoFrames: - ((JNI_TRUE == automaticallyDropsLateVideoFrames) ? YES : NO)]; + if ([captureDecompressedVideoOutput + respondsToSelector:@selector(setAutomaticallyDropsLateVideoFrames)]) + [captureDecompressedVideoOutput + setAutomaticallyDropsLateVideoFrames: + ((JNI_TRUE == automaticallyDropsLateVideoFrames) ? YES : NO)]; [autoreleasePool release]; } |