Title: [291294] trunk/Source/WebCore
- Revision
- 291294
- Author
- lmo...@igalia.com
- Date
- 2022-03-15 09:18:28 -0700 (Tue, 15 Mar 2022)
Log Message
[GStreamer] Unreviewed, tentative clang build fix after 248419@main
https://bugs.webkit.org/show_bug.cgi?id=237897
Adds static_cast to avoid "non-const-_expression_ cannot be narrowed"
error.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (291293 => 291294)
--- trunk/Source/WebCore/ChangeLog 2022-03-15 16:13:55 UTC (rev 291293)
+++ trunk/Source/WebCore/ChangeLog 2022-03-15 16:18:28 UTC (rev 291294)
@@ -1,3 +1,14 @@
+2022-03-15 Lauro Moura <lmo...@igalia.com>
+
+ [GStreamer] Unreviewed, tentative clang build fix after 248419@main
+ https://bugs.webkit.org/show_bug.cgi?id=237897
+
+ Adds static_cast to avoid "non-const-_expression_ cannot be narrowed"
+ error.
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor):
+
2022-03-15 Enrique Ocaña González <eoca...@igalia.com>
[GStreamer] clarify playback errors with MediaError.message
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (291293 => 291294)
--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp 2022-03-15 16:13:55 UTC (rev 291293)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp 2022-03-15 16:18:28 UTC (rev 291294)
@@ -3117,7 +3117,7 @@
// and copy over the data for each plane.
GBMBufferSwapchain::BufferDescription bufferDescription {
DMABufFormat::create(fourccValue(GST_VIDEO_INFO_FORMAT(&videoInfo))),
- GST_VIDEO_INFO_WIDTH(&videoInfo), GST_VIDEO_INFO_HEIGHT(&videoInfo),
+ static_cast<uint32_t>GST_VIDEO_INFO_WIDTH(&videoInfo), static_cast<uint32_t>GST_VIDEO_INFO_HEIGHT(&videoInfo),
};
if (bufferDescription.format.fourcc == DMABufFormat::FourCC::Invalid)
return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes