| 79 | ::Movie openMovieFromPath( const fs::path &path ); |
| 80 | |
| 81 | void startQuickTime() |
| 82 | { |
| 83 | static bool initialized = false; |
| 84 | |
| 85 | if( initialized ) |
| 86 | return; |
| 87 | |
| 88 | #if defined( CINDER_MSW ) |
| 89 | ::InitializeQTML( 0L ); |
| 90 | #endif |
| 91 | ::EnterMovies(); |
| 92 | initialized = true; |
| 93 | |
| 94 | // create a default GWorld which we will set in order to prevent NewMovieFromDataRef() from balking |
| 95 | ::Rect boundsRect; |
| 96 | boundsRect.left = boundsRect.top = 0; |
| 97 | boundsRect.right = boundsRect.bottom = 4; |
| 98 | ::QTNewGWorld( &sDefaultGWorld, k24BGRPixelFormat, &boundsRect, NULL, NULL, 0 ); |
| 99 | } |
| 100 | |
| 101 | float MovieBase::getPixelAspectRatio() const |
| 102 | { |
no outgoing calls
no test coverage detected