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:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162630
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-01-23 Jer Noble <jer.noble@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_horton@apple.com>
PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
2014-01-23 Tim Horton <timothy_horton@apple.com>
PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
_parent->didParseStreamDataAsAsset(asset);
}
_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
- (void)streamDataParser:(AVStreamDataParser *)streamDataParser didFailToParseStreamDataWithError:(NSError *)error
{
#if ASSERT_DISABLED