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

Changeset 242883 in webkit


Ignore:
Timestamp:
Mar 13, 2019, 9:08:15 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[GStreamer][WebRTC] Do not sync encoder on the clock
https://bugs.webkit.org/show_bug.cgi?id=195673

we should encode as fast as possible and totally ignore timestamp while
doing so.

Patch by Thibault Saunier <tsaunier@igalia.com> on 2019-03-13
Reviewed by Philippe Normand.

  • platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp:

(WebCore::GStreamerVideoEncoder::InitEncode):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r242881 r242883  
     12019-03-13  Thibault Saunier  <tsaunier@igalia.com>
     2
     3        [GStreamer][WebRTC] Do not sync encoder on the clock
     4        https://bugs.webkit.org/show_bug.cgi?id=195673
     5
     6        we should encode as fast as possible and totally ignore timestamp while
     7        doing so.
     8
     9        Reviewed by Philippe Normand.
     10
     11        * platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp:
     12        (WebCore::GStreamerVideoEncoder::InitEncode):
     13
    1142019-03-13  Thibault Saunier  <tsaunier@igalia.com>
    215
  • trunk/Source/WebCore/platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp

    r241751 r242883  
    143143        gst_app_sink_set_emit_signals(GST_APP_SINK(sink), TRUE);
    144144        g_signal_connect(sink, "new-sample", G_CALLBACK(newSampleCallbackTramp), this);
     145        g_object_set(sink, "sync", FALSE, nullptr);
    145146
    146147        auto name = makeString(Name(), "_enc_rawcapsfilter_0x", hex(reinterpret_cast<uintptr_t>(this)));
Note: See TracChangeset for help on using the changeset viewer.