Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / video_capture / mac / qtkit / video_capture_qtkit_info_objc.mm
index 7b46aec..2b18e1e 100644 (file)
@@ -155,11 +155,14 @@ using namespace webrtc;
 - (void)checkOSSupported
 {
     Class osSupportedTest = NSClassFromString(@"QTCaptureSession");
-    _OSSupportedInfo = NO;
     if(nil == osSupportedTest)
     {
+      _OSSupportedInfo = NO;
+    }
+    else
+    {
+      _OSSupportedInfo = YES;
     }
-    _OSSupportedInfo = YES;
 }
 
 /// ***** Retrieves the number of capture devices currently available