Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sabharwal81

macrumors newbie
Original poster
I have a QTMovie (added as a layer to NSView) like this

QTMovie *mMovie = [QTMovie movieWithFile😛athName error: &myErr];
QTMovieLayer *movieLayer = [QTMovieLayer layerWithMovie:mMovie];
[basketView setLayer:movieLayer]; // basketView is an NSView.

Now how do i change the aspect ratio to say 5:3, 16:9, 16:10 etc.
 
You could try playing with the layer's contentsGravity property and adjusting the frame to be of the ratio you want.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.