Re: How to Identify a "Phantom" Write Operation
Re: How to Identify a "Phantom" Write Operation
- Subject: Re: How to Identify a "Phantom" Write Operation
- From: douglas welton <email@hidden>
- Date: Wed, 05 Sep 2012 14:51:38 -0400
Graham,
I reconfigured my code to load the cached copy of the user-selected movie with the QTMovieResolveDataRefsAttribute set to "NO.
I don't get any new/additional messages sent to the console. In your experience, is this an indication that i am *not* writing to the source QT file (via some mysterious effort to resolve the data reference)?
curiously,
douglas
On Sep 4, 2012, at 6:47 PM, Graham Cox wrote:
>
> On 05/09/2012, at 8:17 AM, douglas welton <email@hidden> wrote:
>
>> 2) I copy the selected file to the ~/Library/Caches folder within my sand box container (using NSFileManager's -movieItemAtURL: method).
>
>
> Well, that's not actually copying the file. Not sure if that makes a difference though.
>
> QT files can sometimes contain references to other media on the disk. I've noticed that can fall foul of sandboxing, so you need to open the QT file without resolving references. The message sandboxd writes to the console in this case will tell you if that is the issue.
>
> --Graham
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden