[webkit-changes] [WebKit/WebKit] 7d133d: [GStreamer][WebCodecs] Simplify audio encoder hand...
Philippe Normand
noreply at github.com
Tue Feb 18 00:49:49 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7d133d8d64caeea8da5f6f02891fd5370417a489
https://github.com/WebKit/WebKit/commit/7d133d8d64caeea8da5f6f02891fd5370417a489
Author: Philippe Normand <philn at igalia.com>
Date: 2025-02-18 (Tue, 18 Feb 2025)
Changed paths:
M Source/WebCore/platform/AudioEncoder.cpp
M Source/WebCore/platform/AudioEncoder.h
M Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.h
Log Message:
-----------
[GStreamer][WebCodecs] Simplify audio encoder handling
https://bugs.webkit.org/show_bug.cgi?id=287770
Reviewed by Xabier Rodriguez-Calvar.
Make the GStreamerAudioEncoder::create() function return a promise. This is the same approach as for
the Cocoa encoder.
* Source/WebCore/platform/AudioEncoder.cpp:
(WebCore::AudioEncoder::create):
* Source/WebCore/platform/AudioEncoder.h:
* Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp:
(WebCore::GStreamerAudioEncoder::create):
(WebCore::GStreamerAudioEncoder::GStreamerAudioEncoder):
* Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.h:
Canonical link: https://commits.webkit.org/290528@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list