Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ba265366dadf5387c38b44c068575eed2ea8118
https://github.com/WebKit/WebKit/commit/7ba265366dadf5387c38b44c068575eed2ea8118
Author: Philippe Normand <[email protected]>
Date: 2025-11-12 (Wed, 12 Nov 2025)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
M
Source/WebCore/platform/graphics/gstreamer/GStreamerVideoFrameConverter.cpp
M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp
M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp
Log Message:
-----------
[GStreamer] Add helper function to create video conversion elements and
enable multi-threading inside
https://bugs.webkit.org/show_bug.cgi?id=302252
Reviewed by Xabier Rodriguez-Calvar.
Use videoconvertscale when running on at least GStreamer 1.22 and if the
WEBKIT_GST_USE_VIDEOCONVERT_SCALE environment variable is set to 1. Otherwise
build a bin containing
a videoscale and videoconvert element. Multi-threading is also now enabled in
videoconvert, which
should improve performance, specially when processing video frames with large
dimensions.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::createVideoConvertScaleElement):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
* Source/WebCore/platform/graphics/gstreamer/GStreamerVideoFrameConverter.cpp:
(WebCore::GStreamerVideoFrameConverter::Pipeline::Pipeline):
* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp:
(videoEncoderSetEncoder):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp:
(WebCore::GStreamerVideoCapturer::createConverter):
Canonical link: https://commits.webkit.org/302902@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications