Title: [162630] trunk/Source/WebCore
- Revision
- 162630
- Author
- jer.no...@apple.com
- Date
- 2014-01-23 11:42:17 -0800 (Thu, 23 Jan 2014)
Log Message
[MSE][Mac] Adopt new AVStreamDataParser delegate API
https://bugs.webkit.org/show_bug.cgi?id=127498
Reviewed by Eric Carlson.
Adopt a new delegate API which passes in whether or not the new AVAsset
is discontinuous, implying the AVAsset is entirely new rather than
just updated with new information.
* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:withDiscontinuity:]):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (162629 => 162630)
--- trunk/Source/WebCore/ChangeLog 2014-01-23 19:31:18 UTC (rev 162629)
+++ trunk/Source/WebCore/ChangeLog 2014-01-23 19:42:17 UTC (rev 162630)
@@ -1,3 +1,17 @@
+2014-01-23 Jer Noble <jer.no...@apple.com>
+
+ [MSE][Mac] Adopt new AVStreamDataParser delegate API
+ https://bugs.webkit.org/show_bug.cgi?id=127498
+
+ Reviewed by Eric Carlson.
+
+ Adopt a new delegate API which passes in whether or not the new AVAsset
+ is discontinuous, implying the AVAsset is entirely new rather than
+ just updated with new information.
+
+ * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+ (-[WebAVStreamDataParserListener streamDataParser:didParseStreamDataAsAsset:withDiscontinuity:]):
+
2014-01-23 Tim Horton <timothy_hor...@apple.com>
PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm (162629 => 162630)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm 2014-01-23 19:31:18 UTC (rev 162629)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm 2014-01-23 19:42:17 UTC (rev 162630)
@@ -169,6 +169,16 @@
_parent->didParseStreamDataAsAsset(asset);
}
+- (void)streamDataParser:(AVStreamDataParser *)streamDataParser didParseStreamDataAsAsset:(AVAsset *)asset withDiscontinuity:(BOOL)discontinuity
+{
+ UNUSED_PARAM(discontinuity);
+#if ASSERT_DISABLED
+ UNUSED_PARAM(streamDataParser);
+#endif
+ ASSERT(streamDataParser == _parser);
+ _parent->didParseStreamDataAsAsset(asset);
+}
+
- (void)streamDataParser:(AVStreamDataParser *)streamDataParser didFailToParseStreamDataWithError:(NSError *)error
{
#if ASSERT_DISABLED
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes