Skip to content

[GStreamer] Assorted minor clean-ups#64093

Merged
webkit-commit-queue merged 1 commit into
WebKit:mainfrom
philn:eng/313885
May 5, 2026
Merged

[GStreamer] Assorted minor clean-ups#64093
webkit-commit-queue merged 1 commit into
WebKit:mainfrom
philn:eng/313885

Conversation

@philn
Copy link
Copy Markdown
Member

@philn philn commented May 2, 2026

450d297

[GStreamer] Assorted minor clean-ups
https://bugs.webkit.org/show_bug.cgi?id=313885

Reviewed by Xabier Rodriguez-Calvar.

* Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.cpp:
(WebCore::CDMProxyThunder::decrypt): Remove un-needed GST_TRACE call, there is one already in the
decryptor.
* Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderParser.cpp:
(webkitMediaThunderParserConstructed): Give meaningful names to the internal parsebin element, to
ease debugging. Also sort element factories by rank, same as for decryptors.
* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::appsrcEndOfAppendCheckerProbe): Give meaningful name to end-of-append dot
files.
* Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp: Remove
un-necessary header includes.
* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp: Ditto and also
remove un-used GRefPtr traits for WebKitMediaSrc.
* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.h: Improve WebKit coding
style compliance.

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

2eca970

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 🧪 api-mac ✅ 🧪 api-wpe
🧪 ios-wk2-wpt 🧪 api-mac-debug ✅ 🛠 gtk3-libwebrtc
🧪 api-ios ✅ 🧪 mac-wk1 ✅ 🛠 gtk
🛠 ios-safer-cpp ✅ 🧪 mac-wk2 🧪 gtk-wk2
✅ 🛠 vision 🧪 mac-AS-debug-wk2 ✅ 🧪 api-gtk
✅ 🛠 🧪 merge ✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🛠 playstation
✅ 🧪 vision-wk2 🧪 mac-intel-wk2
✅ 🛠 tv 🛠 mac-safer-cpp
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

@philn philn self-assigned this May 2, 2026
@philn philn added the Platform Portability improvements and other general platform improvements not driven directly by site bugs. label May 2, 2026
@philn philn requested a review from calvaris May 2, 2026 08:18
@@ -140,7 +140,11 @@ static void webkitMediaThunderParserConstructed(GObject* object)
G_OBJECT_CLASS(webkit_media_thunder_parser_parent_class)->constructed(object);

auto self = WEBKIT_MEDIA_THUNDER_PARSER(object);
self->priv->parser = makeGStreamerElement("parsebin"_s, "inner-parser"_s);

static uint32_t nParsers = 0;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should make this atomic

@philn philn added the merge-queue Applied to send a pull request to merge-queue label May 5, 2026
https://bugs.webkit.org/show_bug.cgi?id=313885

Reviewed by Xabier Rodriguez-Calvar.

* Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.cpp:
(WebCore::CDMProxyThunder::decrypt): Remove un-needed GST_TRACE call, there is one already in the
decryptor.
* Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderParser.cpp:
(webkitMediaThunderParserConstructed): Give meaningful names to the internal parsebin element, to
ease debugging. Also sort element factories by rank, same as for decryptors.
* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::appsrcEndOfAppendCheckerProbe): Give meaningful name to end-of-append dot
files.
* Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp: Remove
un-necessary header includes.
* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp: Ditto and also
remove un-used GRefPtr traits for WebKitMediaSrc.
* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.h: Improve WebKit coding
style compliance.

Canonical link: https://commits.webkit.org/312602@main
@webkit-commit-queue
Copy link
Copy Markdown
Collaborator

Committed 312602@main (450d297): https://commits.webkit.org/312602@main

Reviewed commits have been landed. Closing PR #64093 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 450d297 into WebKit:main May 5, 2026
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label May 5, 2026
@philn philn deleted the eng/313885 branch May 5, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform Portability improvements and other general platform improvements not driven directly by site bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants