Re: Help with this code
Re: Help with this code
- Subject: Re: Help with this code
- From: "Guillem Palou" <email@hidden>
- Date: Sat, 22 Mar 2008 23:23:27 +0100
The debugger crashes in a MoviesTask call. The movie is loaded long before
the call, but the QTMovie object is created only a few instants before. All
the other objects look valid.
The only thing is that when setting the movie object, I'm trying to set an
invalid QTMovie object but I don't see the point because I check that the
movie (Movie struct) from which is created the QTMovie object is valid
before all this process.
I'll keep on looking at it to see if I find the error...
Thanks to all,
Guillem
On Sat, Mar 22, 2008 at 9:29 PM, Jens Alfke <email@hidden> wrote:
>
> On 22 Mar '08, at 12:19 PM, Guillem Palou wrote:
>
> > It crashes when I call the setMovie method of the QTMovieView
> > Object. The
> > code seems to work with movieWithFile instead of
> > movieWithQuicktimeMovie.
>
>
> Use the debugger, then.
>
> How does it crash?
> In the debugger, what's the backtrace?
> What's the value of 'movie' at the time of the call? Does it look valid?
> What's the value of 'clipMovieView' at the time of the call? Does it
> look valid?
> Does "po clipMovieView" print the description of the view, or does it
> fail?
>
> Answering those questions should give you a better idea about what's
> going on.
>
> —Jens
_______________________________________________
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