REGRESSION(r175251, Mavericks Only): Playback may stall
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Jun 2015 05:05:04 +0000 (05:05 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Jun 2015 05:05:04 +0000 (05:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=145989
<rdar://problem/21271919>

Unreviewed post-review correction.

Dave Kilzer pointed out that the macro around the waitForVideoOutputMediaDataWillChange
call was incorrect. This patch corrects this error.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoOutput): Correct the
macro definition.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185580 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

index 647667d..d339828 100644 (file)
@@ -1,3 +1,18 @@
+2015-06-15  Brent Fulgham  <bfulgham@apple.com>
+
+        REGRESSION(r175251, Mavericks Only): Playback may stall
+        https://bugs.webkit.org/show_bug.cgi?id=145989
+        <rdar://problem/21271919>
+
+        Unreviewed post-review correction.
+
+        Dave Kilzer pointed out that the macro around the waitForVideoOutputMediaDataWillChange
+        call was incorrect. This patch corrects this error.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoOutput): Correct the
+        macro definition.
+
 2015-06-15  Chris Fleizach  <cfleizach@apple.com>
 
         AX: Changing state of radio buttons causes VoiceOver to go busy for a short time.
index 14675ff..4f54dbd 100644 (file)
@@ -2267,7 +2267,7 @@ void MediaPlayerPrivateAVFoundationObjC::createVideoOutput()
 
     [m_avPlayerItem.get() addOutput:m_videoOutput.get()];
 
-#if USE(VIDEOTOOLBOX) && (!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED < 101000)
+#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101000
     waitForVideoOutputMediaDataWillChange();
 #endif