Title: [273953] trunk/Source/WebCore
Revision
273953
Author
[email protected]
Date
2021-03-05 01:54:24 -0800 (Fri, 05 Mar 2021)

Log Message

[GStreamer] Unreviewed follow-up to r273951

* platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.cpp:
(WebCore::GStreamerSampleFromLibWebRTCVideoFrame): Add &&, forgotten during review cycle.
* platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (273952 => 273953)


--- trunk/Source/WebCore/ChangeLog	2021-03-05 09:50:26 UTC (rev 273952)
+++ trunk/Source/WebCore/ChangeLog	2021-03-05 09:54:24 UTC (rev 273953)
@@ -1,3 +1,11 @@
+2021-03-05  Philippe Normand  <[email protected]>
+
+        [GStreamer] Unreviewed follow-up to r273951
+
+        * platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.cpp:
+        (WebCore::GStreamerSampleFromLibWebRTCVideoFrame): Add &&, forgotten during review cycle.
+        * platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.h:
+
 2021-03-05  Rob Buis  <[email protected]>
 
         Fix flex-aspect-ratio-009.html

Modified: trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.cpp (273952 => 273953)


--- trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.cpp	2021-03-05 09:50:26 UTC (rev 273952)
+++ trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.cpp	2021-03-05 09:54:24 UTC (rev 273953)
@@ -27,7 +27,7 @@
 
 namespace WebCore {
 
-WARN_UNUSED_RETURN GRefPtr<GstSample> GStreamerSampleFromLibWebRTCVideoFrame(const webrtc::VideoFrame& frame)
+WARN_UNUSED_RETURN GRefPtr<GstSample>&& GStreamerSampleFromLibWebRTCVideoFrame(const webrtc::VideoFrame& frame)
 {
     if (frame.video_frame_buffer()->type() == webrtc::VideoFrameBuffer::Type::kNative) {
         auto* framebuffer = static_cast<GStreamerVideoFrameLibWebRTC*>(frame.video_frame_buffer().get());

Modified: trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.h (273952 => 273953)


--- trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.h	2021-03-05 09:50:26 UTC (rev 273952)
+++ trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoFrameLibWebRTC.h	2021-03-05 09:54:24 UTC (rev 273953)
@@ -31,7 +31,7 @@
 
 namespace WebCore {
 
-GRefPtr<GstSample> GStreamerSampleFromLibWebRTCVideoFrame(const webrtc::VideoFrame&);
+GRefPtr<GstSample>&& GStreamerSampleFromLibWebRTCVideoFrame(const webrtc::VideoFrame&);
 
 std::unique_ptr<webrtc::VideoFrame> LibWebRTCVideoFrameFromGStreamerSample(GRefPtr<GstSample>&&, webrtc::VideoRotation, int64_t timestamp, int64_t renderTimeMs);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to