Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 797bc5a293652a51dd0ce47ba9f97b3daa883007
      
https://github.com/WebKit/WebKit/commit/797bc5a293652a51dd0ce47ba9f97b3daa883007
  Author: Žan Doberšek <[email protected]>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M Source/WebCore/Modules/mediasource/MediaSource.cpp
    M Source/WebCore/platform/graphics/MediaSourcePrivate.h
    M Source/WebCore/platform/graphics/SourceBufferPrivate.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm
    M 
Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.cpp
    M Source/WebCore/platform/mock/mediasource/MockMediaSourcePrivate.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Generate IPC serialization for enumerations in MediaSourcePrivate, 
SourceBufferPrivate
https://bugs.webkit.org/show_bug.cgi?id=265441

Reviewed by Philippe Normand.

Rework enumerations in MediaSourcePrivate to allow removal of the associated
EnumTraits specializations, in turn providing IPC serialization specification
for them. The EndOfStreamStatus enum is scoped up and the 'Eos' prefix is
removed from each enumeration value.

The SourceBufferAppendMode enumeration stays as-is, with just the EnumTraits
specializations removed in favor of the IPC serialization specification.

* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::convertEnumerationToString):
(WebCore::MediaSource::streamEndedWithError):
* Source/WebCore/platform/graphics/MediaSourcePrivate.h:
* Source/WebCore/platform/graphics/SourceBufferPrivate.h:
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
(WebCore::MediaSourcePrivateAVFObjC::markEndOfStream):
* 
Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.cpp:
(WebCore::MediaSourcePrivateGStreamer::markEndOfStream):
* Source/WebCore/platform/mock/mediasource/MockMediaSourcePrivate.cpp:
(WebCore::MockMediaSourcePrivate::markEndOfStream):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/271204@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to