Does anyone know the right way to replace old tasks QTMovieCurrentSizeAttributeand QTMovieSizeDidChangeNotification? I am trying to clear old legacy code.
I found that QTMovieNaturalSizeDidChangeNotificationdoes not replace QTMovieSizeDidChangeNotification. Similarly QTMovieNaturalSizeAttributedoes not replace QTMovieCurrentSizeAttribute. Natural Sizerefers to a native resolution QTMovie, and Current Sizerefers to the resolution at which the displayed QTMovie(this can also be a permission that is decoded by a film that can change the size of the native), for example, if the source was anamorphic or have non-square pixels, then Naturaland Current Sizewill not be identical. The difference is easy to see in the Video Inspector window of QuickTime 7.
As far as I can tell, QuickTime X allows multiple views to the same QTMovie, so the concept Current Sizeneeds to be replaced with something new. (Perhaps the functionality Current Sizewas ported to QTMovieView? Or a decoder request?) Can anyone refer to the documentation or sample code for the new path?
Any sample code for the Video Inspector window that has been updated to display Naturaland Current ('Actual') Sizes, without using outdated code, would be ideal. So far it has been very confusing.
source
share