[Mac] Unreviewed buildfix after r149741.
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 May 2013 16:41:14 +0000 (16:41 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 May 2013 16:41:14 +0000 (16:41 +0000)
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible):

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

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

index 7d2e178c341afceda761b2d036ab4e2854b75449..d953f84ba2cfbb638d81afcff141e6f85e66fc3a 100644 (file)
@@ -1,3 +1,10 @@
+2013-05-08  Eric Carlson  <eric.carlson@apple.com>
+
+        [Mac] Unreviewed buildfix after r149741.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        (WebCore::MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible):
+
 2013-05-08  Eric Carlson  <eric.carlson@apple.com>
 
         [Mac] Inband text tracks are not in track menu on Lion
index a86a6dc44cd3069295c328f45963c59981af5522..a74612a5ae010d9da9f00afdb48261f019a61f96 100644 (file)
@@ -635,14 +635,12 @@ void MediaPlayerPrivateAVFoundationObjC::setVolume(float volume)
 
 void MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible(bool closedCaptionsVisible)
 {
+    UNUSED_PARAM(closedCaptionsVisible);
+
     if (!metaDataAvailable())
         return;
 
-#if HAVE(AVFOUNDATION_MEDIA_SELECTION_GROUP)
-    UNUSED_PARAM(closedCaptionsVisible);
-#else
-    LOG(Media, "MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible(%p) - setting to %s", this, boolString(closedCaptionsVisible));
-#endif
+    LOG(Media, "MediaPlayerPrivateAVFoundationObjC::setClosedCaptionsVisible(%p) - set to %s", this, boolString(closedCaptionsVisible));
 }
 
 void MediaPlayerPrivateAVFoundationObjC::updateRate()