⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 291743 in webkit


Ignore:
Timestamp:
Mar 23, 2022, 6:10:48 AM (5 years ago)
Author:
vjaquez@igalia.com
Message:

REGRESSION(r291611): Fix GTK/WPE build
​https://bugs.webkit.org/show_bug.cgi?id=238248

Unreviewed build fix.

  • platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.cpp:

(WebCore::RealtimeIncomingVideoSourceLibWebRTC::OnFrame):

  • platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp:

(WebCore::RealtimeOutgoingVideoSourceLibWebRTC::videoFrameAvailable):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r291742 r291743  
     12022-03-23  Víctor Manuel Jáquez Leal  <vjaquez@igalia.com>
     2
     3        REGRESSION(r291611): Fix GTK/WPE build
     4        https://bugs.webkit.org/show_bug.cgi?id=238248
     5
     6        Unreviewed build fix.
     7
     8        * platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.cpp:
     9        (WebCore::RealtimeIncomingVideoSourceLibWebRTC::OnFrame):
     10        * platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp:
     11        (WebCore::RealtimeOutgoingVideoSourceLibWebRTC::videoFrameAvailable):
     12
    1132022-03-23  Ziran Sun  <zsun@igalia.com>
    214
  • trunk/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.cpp

    r291611 r291743  
    6262    if (frame.video_frame_buffer()->type() == webrtc::VideoFrameBuffer::Type::kNative) {
    6363        auto* framebuffer = static_cast<GStreamerVideoFrameLibWebRTC*>(frame.video_frame_buffer().get());
    64         videoFrameeAvailable(VideoFrameGStreamer::createWrappedSample(framebuffer->getSample(), presentationTime, static_cast<VideoFrame::Rotation>(frame.rotation())), { });
     64        videoFrameAvailable(VideoFrameGStreamer::createWrappedSample(framebuffer->getSample(), presentationTime, static_cast<VideoFrame::Rotation>(frame.rotation())), { });
    6565    } else {
    6666        auto gstSample = convertLibWebRTCVideoFrameToGStreamerSample(frame);
  • trunk/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp

    r291611 r291743  
    6868    }
    6969
    70     auto& videoFrame = static_cast<VideoFrameGStreamer&>(sample);
    71     auto frameBuffer = GStreamerVideoFrameLibWebRTC::create(videoFrame.sample());
     70    auto frameBuffer = GStreamerVideoFrameLibWebRTC::create(static_cast<VideoFrameGStreamer&>(videoFrame).sample());
    7271
    7372    sendFrame(WTFMove(frameBuffer));
Note: See TracChangeset for help on using the changeset viewer.