From 0c2b4e5804e654b21661ca6fd012d444c27127d1 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Wed, 25 Jun 2014 13:06:05 +0200 Subject: [PATCH] Uses the filePathURL where possibile. --- Classes/SBQueueItem.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Classes/SBQueueItem.m b/Classes/SBQueueItem.m index d225924..c4f32cb 100755 --- a/Classes/SBQueueItem.m +++ b/Classes/SBQueueItem.m @@ -230,6 +230,12 @@ } goto bail; } + + // Convert from a file reference url to a normal url + // the file will be replaced if optimized, and the reference url + // may point to nil + [_fileURL autorelease]; + _fileURL = [[self.URL filePathURL] retain]; if (!self.cancelled) { if ([self.URL isEqualTo:self.destURL] && [self.mp4File hasFileRepresentation]) {