Setting Scale Factor QTMovieView

  • 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/
  • 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/
  • 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 <sstigler_lists...> 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/

    >
    >

          ____________________________________________________________________________________
    Never miss a thing.  Make Yahoo your home page.
    http://www.yahoo.com/r/hs
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today