From 609684a4196ccb979b85293ae61c16dd9d7b4671 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Mon, 12 Nov 2012 10:41:14 +0100 Subject: On 32bit applications it would not get out of the waiting state Specifically for 32bit applications it would not get out of the waiting state when using the Cocoa API, the QuickTime API works fine in this respect so we can fallback to this instead. Change-Id: I768009c1e90e8c67ed518288971f11c3e7a1c2ee Reviewed-by: aavit --- src/3rdparty/phonon/qt7/quicktimevideoplayer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v0.12