Title: [196132] branches/safari-601-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
- Revision
- 196132
- Author
- matthew_han...@apple.com
- Date
- 2016-02-04 10:29:24 -0800 (Thu, 04 Feb 2016)
Log Message
Guard use of MediaToolbox by ENABLE(AVF_CAPTIONS).
Modified Paths
Diff
Modified: branches/safari-601-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (196131 => 196132)
--- branches/safari-601-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2016-02-04 18:20:21 UTC (rev 196131)
+++ branches/safari-601-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2016-02-04 18:29:24 UTC (rev 196132)
@@ -297,7 +297,7 @@
#define AVURLAssetBoundNetworkInterfaceName getAVURLAssetBoundNetworkInterfaceName()
#endif
-#if ENABLE(WEB_AUDIO) && USE(MEDIATOOLBOX)
+#if ENABLE(AVF_CAPTIONS)
SOFT_LINK_FRAMEWORK(MediaToolbox)
SOFT_LINK_OPTIONAL(MediaToolbox, MTEnableCaption2015Behavior, Boolean, (), ())
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes