AVFoundation: correctly pass output URLs to AVCaptureMovieFileOutput.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 9 May 2014 15:21:29 +0000 (17:21 +0200)
committerYoann Lopes <yoann.lopes@digia.com>
Thu, 10 Jul 2014 13:59:53 +0000 (15:59 +0200)
commitf935715767b6bfcc603128c61adc01c2c68a8e31
treefef5ccd41ae1ba30eb3b9081f607423c0d336ff6
parent85f4b8177ca10e7e16ccc3065370589630400f2b
AVFoundation: correctly pass output URLs to AVCaptureMovieFileOutput.

The URL string passed to NSURL was not fully encoded, causing the
recorder to start with a nil URL, leading to an exception.
We now use QURL::toNSURL() which automatically encode the URL.

Task-number: QTBUG-38668
Change-Id: I06bf881a0a25fb37efd8784ebf518c8b90ecc6b4
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/avfoundation/camera/avfmediarecordercontrol.mm