• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting Scale Factor QTMovieView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Scale Factor QTMovieView


  • Subject: Re: Setting Scale Factor QTMovieView
  • From: Ian was here <email@hidden>
  • Date: Sun, 2 Dec 2007 17:25:51 -0800 (PST)

This used to work.



QNSError	*err;
QTMovie		*theMovie = [[QTMovie alloc]
initWithURL:movieURL error:&err];
NSSize		naturalMovieSize = [[theMovie
attributeForKey:QTMovieNaturalSizeAttribute]
sizeValue];
QTMovieView    *movieView = [[QTMovieView alloc]
initWithFrame:NSMakeRect( 0.0, 0.0,
setSize:naturalMovieSize.width,
setSize:naturalMovieSize.height)];

[movieView setMovie:theMovie];



That's all there really was to it. When the movieView
was added to the super view, it attained it's scale
factor and the movie played OK.




--- Sam Stigler <email@hidden> wrote:

> 	I experienced that in an app I started developing
> on Tiger; the only
> difference is it never worked for me.  I'm still not
> sure why it
> didn't work, and never got around to filing a bug
> report on it.  Could
> you please let me know what you figure out?
>
> Thanks,
> Sam
>
>
> On Dec 2, 2007, at 4:30 PM, Ian was here wrote:
>
> > I am adding a QTMovieView to a view which I have
> given
> > a scale factor of 1600 by 1200 (4 to 3 ratio). The
> > QTMovieView naturally takes on the scale factor of
> > it's super view.
> >
> > The problem that I'm having is that the QTMovie
> itself
> > is not scaling. What's odd is that the same code
> > worked before, but doesn't anymore. I think
> something
> > changed with the latest update of QuickTime.
> >
> > Has anyone else experienced this?
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Be a better pen pal.
> > Text or chat with friends inside Yahoo! Mail. See
> how.  http://overview.mail.yahoo.com/
> > _______________________________________________
> >
> > 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
>
>



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________

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

References: 
 >Re: Setting Scale Factor QTMovieView (From: Sam Stigler <email@hidden>)

  • Prev by Date: Re: Setting Scale Factor QTMovieView
  • Next by Date: default write ... for turning on GUI scripting?
  • Previous by thread: Re: Setting Scale Factor QTMovieView
  • Next by thread: Is the cascade delete rule right for me?
  • Index(es):
    • Date
    • Thread