Skip to content

Commit

Permalink
[LibWebRTC][GTK] Unreviewed, fix build after 278972@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274297

* Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoEncoderFactory.cpp:
(WebCore::GStreamerVideoEncoder::makeElement):

Canonical link: https://commits.webkit.org/279038@main
  • Loading branch information
dpino committed May 21, 2024
1 parent adec935 commit d1b1d17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class GStreamerVideoEncoder : public webrtc::VideoEncoder {
GstElement* makeElement(const gchar* factoryName)
{
static Atomic<uint32_t> elementId;
auto name = makeString(Name(), "-enc-", factoryName, "-", elementId.exchangeAdd(1));
auto name = makeString(span(Name()), "-enc-"_s, span(factoryName), "-"_s, elementId.exchangeAdd(1));
auto* elem = makeGStreamerElement(factoryName, name.utf8().data());
return elem;
}
Expand Down

0 comments on commit d1b1d17

Please sign in to comment.