Title: [202431] trunk/Source/WebCore
Revision
202431
Author
[email protected]
Date
2016-06-24 11:21:05 -0700 (Fri, 24 Jun 2016)

Log Message

Unreviewed build fix after r202429; Fix the type of the delegate property on AVStreamDataParser.

* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
* platform/spi/mac/AVFoundationSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202430 => 202431)


--- trunk/Source/WebCore/ChangeLog	2016-06-24 18:19:43 UTC (rev 202430)
+++ trunk/Source/WebCore/ChangeLog	2016-06-24 18:21:05 UTC (rev 202431)
@@ -1,3 +1,10 @@
+2016-06-24  Jer Noble  <[email protected]>
+
+        Unreviewed build fix after r202429; Fix the type of the delegate property on AVStreamDataParser.
+
+        * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
+        * platform/spi/mac/AVFoundationSPI.h:
+
 2016-06-02  Jer Noble  <[email protected]>
 
         [MSE] Adopt +[AVStreamDataParser outputMIMECodecParameterForInputMIMECodecParameter:]

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm (202430 => 202431)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm	2016-06-24 18:19:43 UTC (rev 202430)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm	2016-06-24 18:21:05 UTC (rev 202431)
@@ -126,7 +126,7 @@
 #pragma mark -
 #pragma mark WebAVStreamDataParserListener
 
-@interface WebAVStreamDataParserListener : NSObject {
+@interface WebAVStreamDataParserListener : NSObject<AVStreamDataParserOutputHandling> {
     WeakPtr<WebCore::SourceBufferPrivateAVFObjC> _parent;
     AVStreamDataParser* _parser;
 }

Modified: trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h (202430 => 202431)


--- trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h	2016-06-24 18:19:43 UTC (rev 202430)
+++ trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h	2016-06-24 18:21:05 UTC (rev 202431)
@@ -106,6 +106,9 @@
 #import <AVFoundation/AVStreamDataParser.h>
 #else
 
+@protocol AVStreamDataParserOutputHandling <NSObject>
+@end
+
 typedef int32_t CMPersistentTrackID;
 
 NS_ASSUME_NONNULL_BEGIN
@@ -114,7 +117,7 @@
 };
 
 @interface AVStreamDataParser : NSObject
-- (void)setDelegate:(nullable id)delegate;
+- (void)setDelegate:(nullable id<AVStreamDataParserOutputHandling>)delegate;
 - (void)appendStreamData:(NSData *)data;
 - (void)setShouldProvideMediaData:(BOOL)shouldProvideMediaData forTrackID:(CMPersistentTrackID)trackID;
 - (BOOL)shouldProvideMediaDataForTrackID:(CMPersistentTrackID)trackID;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to