Branch: refs/heads/webkitglib/2.44
Home: https://github.com/WebKit/WebKit
Commit: b0737e88de9846c7420792a93e11b825df3a4361
https://github.com/WebKit/WebKit/commit/b0737e88de9846c7420792a93e11b825df3a4361
Author: Xabier Rodriguez-Calvar <[email protected]>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M
Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
M
Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp
M
Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.h
M
Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp
Log Message:
-----------
Cherry-pick 278259@main (16213bb802f7).
https://bugs.webkit.org/show_bug.cgi?id=273488
[MSE][GStreamer] Avoid extra/circular refs between tracks/streams
https://bugs.webkit.org/show_bug.cgi?id=273488
Reviewed by Alicia Boya Garcia.
1. Avoid adding the same stream to the hash map. Also keeping the
active/valid tracks in the player.
2. Avoid a hard reference in the source buffer when ready for more samples.
3. Break the indirect circular reference between the stream and track
through the pad.
*
Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
(WebCore::filterOutRepeatingTracks):
(WebCore::MediaPlayerPrivateGStreamerMSE::sourceSetup):
(WebCore::MediaPlayerPrivateGStreamerMSE::startSource):
*
Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:
(WebCore::SourceBufferPrivateGStreamer::notifyClientWhenReadyForMoreSamples):
*
Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.h:
*
Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp:
(webKitMediaSrcEmitStreams):
(webKitMediaSrcActivateMode):
(webKitMediaSrcPadLinked):
(webKitMediaSrcLoop):
Canonical link: https://commits.webkit.org/278259@main
Canonical link: https://commits.webkit.org/274313.199@webkitglib/2.44
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes