Bug 279499
Summary: | [GStreamer] Fix potential clash between std::span and WTF's span | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <philn> |
Component: | Platform | Assignee: | Philippe Normand <philn> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
In file included from /app/webkit/WebKitBuild/WPE/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-56.cpp:7:
/app/webkit/Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp: In static member function ‘static WTF::RefPtr<WebCore::VideoFrameGStreamer> WebCore::VideoFrameGStreamer::createFromPixelBuffer(WTF::Ref<WebCore::PixelBuffer>&&, CanvasContentType, WebCore::VideoFrame::Rotation, const WTF::MediaTime&, const WebCore::IntSize&, double, bool, std::optional<WebCore::VideoFrameTimeMetadata>&&, WebCore::PlatformVideoColorSpace&&)’:
/app/webkit/Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:325:40: error: reference to ‘span’ is ambiguous
325 | std::span<const char> formatName = span(gst_video_format_to_string(format));
| ^~~~
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/33452
EWS
Committed 283476@main (19abc8c887de): <https://commits.webkit.org/283476@main>
Reviewed commits have been landed. Closing PR #33452 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/135788002>