Fixed the build for <rdar://problem/20758514>
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 May 2015 04:24:40 +0000 (04:24 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 May 2015 04:24:40 +0000 (04:24 +0000)
* platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
(WebCore::AudioSourceProviderAVFObjC::destroyMix): Don’t pass nil to
-[AVMutableAudioMix setInputParameters:].

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm

index 89d98b4..12607e9 100644 (file)
@@ -1,3 +1,11 @@
+2015-04-30  Dan Bernstein  <mitz@apple.com>
+
+        Fixed the build for <rdar://problem/20758514>
+
+        * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
+        (WebCore::AudioSourceProviderAVFObjC::destroyMix): Don’t pass nil to
+        -[AVMutableAudioMix setInputParameters:].
+
 2015-04-30  Daniel Bates  <dabates@apple.com>
 
         Clean up: Remove unnecessary runtime computation of string length
index 57a1228..a38335c 100644 (file)
@@ -172,7 +172,7 @@ void AudioSourceProviderAVFObjC::destroyMix()
 {
     if (m_avPlayerItem)
         [m_avPlayerItem setAudioMix:nil];
-    [m_avAudioMix setInputParameters:nil];
+    [m_avAudioMix setInputParameters:@[ ]];
     m_avAudioMix.clear();
     m_tap.clear();
 }