Title: [291525] trunk/Source/WebCore
Revision
291525
Author
[email protected]
Date
2022-03-19 03:36:04 -0700 (Sat, 19 Mar 2022)

Log Message

Unreviewed, WPE clang build fix after r291343.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (291524 => 291525)


--- trunk/Source/WebCore/ChangeLog	2022-03-19 09:12:33 UTC (rev 291524)
+++ trunk/Source/WebCore/ChangeLog	2022-03-19 10:36:04 UTC (rev 291525)
@@ -1,3 +1,10 @@
+2022-03-19  Philippe Normand  <[email protected]>
+
+        Unreviewed, WPE clang build fix after r291343.
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+        (WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor):
+
 2022-03-19  Antti Koivisto  <[email protected]>
 
         [CSS Container Queries] Add Typed OM support for container units

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (291524 => 291525)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2022-03-19 09:12:33 UTC (rev 291524)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2022-03-19 10:36:04 UTC (rev 291525)
@@ -3117,7 +3117,7 @@
                     object.stride[i] = GST_VIDEO_INFO_PLANE_STRIDE(&videoInfo, i);
                     object.modifier[i] = 0;
                 }
-                return object;
+                return WTFMove(object);
             });
         return;
     }
@@ -3126,7 +3126,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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to