diff --git a/src/QtMacVideoWindow.mm b/src/QtMacVideoWindow.mm index 4aa10a180..e57cb5d7f 100644 --- a/src/QtMacVideoWindow.mm +++ b/src/QtMacVideoWindow.mm @@ -115,7 +115,9 @@ void VideoWindow::mediaSelected(QString filename) NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys: file, QTMovieFileNameAttribute, num, QTMovieLoopsAttribute, +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 num, QTMovieOpenForPlaybackAttribute, +#endif nil]; movie = [[QTMovie alloc] initWithAttributes:attributes error:&error];