Slow-mo videos return nil thumbnails with PHImageRequestOptionsVersionUnadjusted

Originator:stephenpoletto
Number:rdar://18431000 Date Originated:23-Sep-2014 05:07 PM
Status:Open Resolved:
Product:iOS SDK Product Version:8.0
Classification:Other Bug Reproducible:Always
 
Summary:
-[PHImageManager requestImageForAsset:targetSize:contentMode:options:resultHandler:] returns a nil UIImage result for slow-mo videos if PHImageRequestOptionsVersionUnadjusted is passed in via the options object.

Sample project: https://www.dropbox.com/s/727x4ldlmb8snpw/PHAssetVideoThumbnailBug.zip?dl=0

Steps to Reproduce:
1. Take a regular video. 
2. Take a slow-mo video.
3. Run the attached sample project on device.

The sample app shows thumbnails for each video in the camera roll, newest->oldest, showing each thumbnail for 5 seconds before moving on to the next one.

Expected Results:
Both videos should have thumbnails.

Actual Results:
For the first video, the screen is blank gray, because the request for a thumbnail returns `nil`

5 seconds later, the second video's thumbnail shows.

Version:
iOS 8.0

Notes:


Configuration:
iPhone 5S

Attachments:
'PHAssetVideoThumbnailBug.zip' was successfully uploaded.

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!