Title: [276943] trunk/Source/WebCore
- Revision
- 276943
- Author
- [email protected]
- Date
- 2021-05-03 21:03:42 -0700 (Mon, 03 May 2021)
Log Message
Small cleanups in MediaPlayerPrivateMediaSourceAVFObjC and MediaPlayerPrivateAVFoundationObjC
https://bugs.webkit.org/show_bug.cgi?id=225330
Reviewed by Eric Carlson.
Since we have removed `MediaPlayerPrivate::copyVideoTextureToPlatformTexture()` in r273213,
some headers in `MediaPlayerPrivateAVFoundationObjC` and `MediaPlayerPrivateMediaSourceAVFObjC`
can be removed as well. This patch also has some small cleanups.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
* platform/graphics/cocoa/WebCoreDecompressionSession.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (276942 => 276943)
--- trunk/Source/WebCore/ChangeLog 2021-05-04 02:37:17 UTC (rev 276942)
+++ trunk/Source/WebCore/ChangeLog 2021-05-04 04:03:42 UTC (rev 276943)
@@ -1,3 +1,19 @@
+2021-05-03 Peng Liu <[email protected]>
+
+ Small cleanups in MediaPlayerPrivateMediaSourceAVFObjC and MediaPlayerPrivateAVFoundationObjC
+ https://bugs.webkit.org/show_bug.cgi?id=225330
+
+ Reviewed by Eric Carlson.
+
+ Since we have removed `MediaPlayerPrivate::copyVideoTextureToPlatformTexture()` in r273213,
+ some headers in `MediaPlayerPrivateAVFoundationObjC` and `MediaPlayerPrivateMediaSourceAVFObjC`
+ can be removed as well. This patch also has some small cleanups.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ * platform/graphics/cocoa/WebCoreDecompressionSession.h:
+
2021-05-03 Julian Gonzalez <[email protected]>
Crash in WebCore::nextBoundary()
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (276942 => 276943)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2021-05-04 02:37:17 UTC (rev 276942)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2021-05-04 04:03:42 UTC (rev 276943)
@@ -36,14 +36,12 @@
#import "AuthenticationChallenge.h"
#import "CDMInstanceFairPlayStreamingAVFObjC.h"
#import "CDMSessionAVFoundationObjC.h"
+#import "ColorSpaceCG.h"
#import "Cookie.h"
#import "DeprecatedGlobalSettings.h"
#import "ExtensionsGL.h"
#import "FloatConversion.h"
#import "GraphicsContext.h"
-#import "GraphicsContextCG.h"
-#import "GraphicsContextGL.h"
-#import "GraphicsContextGLCV.h"
#import "ImageRotationSessionVT.h"
#import "InbandMetadataTextTrackPrivateAVF.h"
#import "InbandTextTrackPrivateAVFObjC.h"
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h (276942 => 276943)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h 2021-05-04 02:37:17 UTC (rev 276942)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h 2021-05-04 04:03:42 UTC (rev 276943)
@@ -23,8 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaPlayerPrivateMediaSourceAVFObjC_h
-#define MediaPlayerPrivateMediaSourceAVFObjC_h
+#pragma once
#if ENABLE(MEDIA_SOURCE) && USE(AVFOUNDATION)
@@ -354,6 +353,3 @@
} // namespace WTF
#endif // ENABLE(MEDIA_SOURCE) && USE(AVFOUNDATION)
-
-#endif // MediaPlayerPrivateMediaSourceAVFObjC_h
-
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm (276942 => 276943)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm 2021-05-04 02:37:17 UTC (rev 276942)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm 2021-05-04 04:03:42 UTC (rev 276943)
@@ -32,9 +32,7 @@
#import "AVAssetTrackUtilities.h"
#import "AVStreamDataParserMIMETypeCache.h"
#import "CDMSessionAVStreamSession.h"
-#import "GraphicsContextCG.h"
-#import "GraphicsContextGL.h"
-#import "GraphicsContextGLCV.h"
+#import "GraphicsContext.h"
#import "Logging.h"
#import "MediaSourcePrivateAVFObjC.h"
#import "MediaSourcePrivateClient.h"
Modified: trunk/Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h (276942 => 276943)
--- trunk/Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h 2021-05-04 02:37:17 UTC (rev 276942)
+++ trunk/Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.h 2021-05-04 04:03:42 UTC (rev 276943)
@@ -23,6 +23,8 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+#pragma once
+
#include <CoreMedia/CMTime.h>
#include <functional>
#include <wtf/Lock.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes