Title: [212384] trunk/Source/WebCore
- Revision
- 212384
- Author
- [email protected]
- Date
- 2017-02-15 11:42:14 -0800 (Wed, 15 Feb 2017)
Log Message
Pass "RequiresCustomURLLoading" in AVURLAsset options dictionary
https://bugs.webkit.org/show_bug.cgi?id=168381
Reviewed by Eric Carlson.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (212383 => 212384)
--- trunk/Source/WebCore/ChangeLog 2017-02-15 19:24:09 UTC (rev 212383)
+++ trunk/Source/WebCore/ChangeLog 2017-02-15 19:42:14 UTC (rev 212384)
@@ -1,3 +1,13 @@
+2017-02-15 Jer Noble <[email protected]>
+
+ Pass "RequiresCustomURLLoading" in AVURLAsset options dictionary
+ https://bugs.webkit.org/show_bug.cgi?id=168381
+
+ Reviewed by Eric Carlson.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL):
+
2017-02-15 Anders Carlsson <[email protected]>
Fix build.
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (212383 => 212384)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2017-02-15 19:24:09 UTC (rev 212383)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2017-02-15 19:42:14 UTC (rev 212384)
@@ -189,6 +189,7 @@
SOFT_LINK_POINTER(AVFoundation, AVLayerVideoGravityResize, NSString *)
SOFT_LINK_POINTER_OPTIONAL(AVFoundation, AVURLAssetClientBundleIdentifierKey, NSString *)
+SOFT_LINK_POINTER_OPTIONAL(AVFoundation, AVURLAssetRequiresCustomURLLoadingKey, NSString *)
#define AVPlayer initAVPlayer()
#define AVPlayerItem initAVPlayerItem()
@@ -210,6 +211,7 @@
#define AVPlayerItemDidPlayToEndTimeNotification getAVPlayerItemDidPlayToEndTimeNotification()
#define AVURLAssetInheritURIQueryComponentFromReferencingURIKey getAVURLAssetInheritURIQueryComponentFromReferencingURIKey()
#define AVURLAssetClientBundleIdentifierKey getAVURLAssetClientBundleIdentifierKey()
+#define AVURLAssetRequiresCustomURLLoadingKey getAVURLAssetRequiresCustomURLLoadingKey()
#define AVAssetImageGeneratorApertureModeCleanAperture getAVAssetImageGeneratorApertureModeCleanAperture()
#define AVURLAssetReferenceRestrictionsKey getAVURLAssetReferenceRestrictionsKey()
#define AVLayerVideoGravityResizeAspect getAVLayerVideoGravityResizeAspect()
@@ -936,6 +938,9 @@
String identifier = player()->sourceApplicationIdentifier();
if (!identifier.isEmpty() && AVURLAssetClientBundleIdentifierKey)
[options setObject:identifier forKey:AVURLAssetClientBundleIdentifierKey];
+
+ if (AVURLAssetRequiresCustomURLLoadingKey)
+ [options setObject:@YES forKey:AVURLAssetRequiresCustomURLLoadingKey];
#endif
#if ENABLE(AVF_CAPTIONS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes