Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3a57c6e319c3912d4e69457cc27011a38ac329f0 https://github.com/WebKit/WebKit/commit/3a57c6e319c3912d4e69457cc27011a38ac329f0 Author: Philippe Normand <ph...@igalia.com> Date: 2022-12-06 (Tue, 06 Dec 2022)
Changed paths: M Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp M Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.h M Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.cpp M Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp M Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.h Log Message: ----------- [GStreamer][MSE] Misc capabilities and EOS handling improvements https://bugs.webkit.org/show_bug.cgi?id=248741 Reviewed by Alicia Boya Garcia. When the MediaSource is marked as ended, set the player network state to `loaded`, aligning with the spec and AVF backend. The `addSourceBuffer` method now returns `NotSupported` in case the AppendPipeline is not able to handle the given contentType. * Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp: (WebCore::MediaPlayerPrivateGStreamerMSE::setNetworkState): * Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.h: * Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.cpp: (WebCore::MediaSourcePrivateGStreamer::addSourceBuffer): (WebCore::MediaSourcePrivateGStreamer::markEndOfStream): * Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp: (WebCore::SourceBufferPrivateGStreamer::isContentTypeSupported): * Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.h: Canonical link: https://commits.webkit.org/257408@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes