QTCaptureDevice regression when getting input device

Originator:laurent.etiemble
Number:rdar://13141193 Date Originated:2012-02-13
Status:Closed Resolved:Non reproductible
Product:Mac OS X Product Version:10.8.2
Classification:Other Bug Reproducible:Always
 
Summary:
The result of [QTCaptureDevice inputDevicesWithMediaType:QTMediaTypeVideo] returns nil on OS X 10.8 when it used to return the iSight capture device on OS X 10.7.

Steps to Reproduce:
- Download the MyRecorder sample application (https://developer.apple.com/library/mac/#samplecode/MYRecorder/Introduction/Intro.html)
- Compile
- Put a breakpoint in MyRecorderController.m line 68.
- Run

Expected Results:
The returned device should not be nil when an iSight device is present. This can be checked by inspecting the "device" variable when the breakpoint is hit.

Actual Results:
The returned device is nil.

Regression:
This sample application was working on OX 10.7. It does not work anymore.

Notes:
Tested on a MacBook Unibody Late 2008 (MacBook5,1).

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!