BUG=1002 Review URL: https://webrtc-codereview.appspot.com/931006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3002 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a5d4c31735
commit
bc48b8c803
@ -95,7 +95,8 @@ WebRtc_Word32 VideoCaptureMacQTKit::Init(
|
|||||||
_captureInfo = [[VideoCaptureMacQTKitInfoObjC alloc]init];
|
_captureInfo = [[VideoCaptureMacQTKitInfoObjC alloc]init];
|
||||||
if(nil == _captureInfo)
|
if(nil == _captureInfo)
|
||||||
{
|
{
|
||||||
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideoCapture, id, "Failed to create an instance of VideoCaptureMacQTKitInfoObjC");
|
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideoCapture, id,
|
||||||
|
"Failed to create an instance of VideoCaptureMacQTKitInfoObjC");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -154,7 +155,8 @@ WebRtc_Word32 VideoCaptureMacQTKit::Init(
|
|||||||
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideoCapture, _id,
|
WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideoCapture, _id,
|
||||||
"Failed to set capture device %s (unique ID %s) even "
|
"Failed to set capture device %s (unique ID %s) even "
|
||||||
"though it was a valid return from "
|
"though it was a valid return from "
|
||||||
"VideoCaptureMacQTKitInfo");
|
"VideoCaptureMacQTKitInfo", deviceNameUTF8,
|
||||||
|
iDeviceUniqueIdUTF8);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user