Fix odd codes in video_capture on Mac.
BUG=3272 TEST=vie_auto_test R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/16429004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6070 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
f9277a9381
commit
94f1d4cd55
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user