• 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: Re: Fwd / Rdw in QTMovieView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Fwd / Rdw in QTMovieView


  • Subject: Re: Re: Fwd / Rdw in QTMovieView
  • From: "Aychamo Aychamo" <email@hidden>
  • Date: Sat, 21 Oct 2006 02:29:10 -0400

Hi Douglas!

Silly me!  I was checking the QTMovieView instead of QTMovie itself.
It works fine now. However, I don't understand *why* it works.  I use
the following:

QTMovie *myMovie = [myQTMovieView movie];
[movie setRate: X.0]; //whatever rate

And it instantly takes effect.  I don't understand how I can create a
new instance of the movie, modify that, and then the movie that is
currently playing accepts the changes.  I would *think* that I would
have to follow the code with a [myQTMovieView setMovie: myMovie];  but
I dont.. It "just works"...

Thank you
AA

On 10/20/06, douglas a. welton <email@hidden> wrote:
Check the documentation, under "Setting Movie Attributes" you will
find two methods to help you accomplish what you want to do.  Use
either -setAttribute:forKey: to set a single attribute or -
setMovieAttributes: to set several attributes at once.  The keys
(listed under the "Constant" link) you want to set are
QTMovieRateAttribute or QTMoviePreferredRateAttribute or
QTMovieRateChangesdPreservePitchAttribute (depending on what you
"really" want to do).

later,

dogulas

On Oct 20, 2006, at 7:44 PM, Aychamo Aychamo wrote:

> Hello
>
> I was wondering if anyone knows how to accomplish proper
> fast-forwarding and rewinding in a QTMovieView.  It's simple in an
> NSMovieView with -setRate, but QTMovieView doesn't seem to support the
> same.  QTMovieView only has stepForward/stepBackward, which move one
> frame at a time.
>
> Does anyone have an idea?
>
> Thank you
> AA


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Fwd / Rdw in QTMovieView (From: "Aychamo Aychamo" <email@hidden>)
 >Re: Fwd / Rdw in QTMovieView (From: "douglas a. welton" <email@hidden>)

  • Prev by Date: Re: Is it possible to handle a mouse click in an NSTextView without subclassing it?
  • Next by Date: Re: playing a quicktime movie in a QTMovieView
  • Previous by thread: Re: Fwd / Rdw in QTMovieView
  • Next by thread: Tokenfield blues (literally)
  • Index(es):
    • Date
    • Thread