summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r--src/3rdparty/phonon/qt7/quicktimevideoplayer.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/qt7/quicktimevideoplayer.mm b/src/3rdparty/phonon/qt7/quicktimevideoplayer.mm
index 3f76132..b35d787 100644
--- a/src/3rdparty/phonon/qt7/quicktimevideoplayer.mm
+++ b/src/3rdparty/phonon/qt7/quicktimevideoplayer.mm
@@ -452,7 +452,7 @@ float QuickTimeVideoPlayer::percentageLoaded()
void QuickTimeVideoPlayer::waitStatePlayable()
{
-#if defined(QT_MAC_USE_COCOA)
+#if defined(QT_MAC_USE_COCOA) && !defined(Q_OS_MAC32)
long state = [[m_QTMovie attributeForKey:@"QTMovieLoadStateAttribute"] longValue];
while (state != QTMovieLoadStateError && state < QTMovieLoadStatePlayable)
state = [[m_QTMovie attributeForKey:@"QTMovieLoadStateAttribute"] longValue];