Title: [242883] trunk/Source/WebCore
- Revision
- 242883
- Author
- commit-qu...@webkit.org
- Date
- 2019-03-13 09:08:15 -0700 (Wed, 13 Mar 2019)
Log 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 <tsaun...@igalia.com> on 2019-03-13
Reviewed by Philippe Normand.
* platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp:
(WebCore::GStreamerVideoEncoder::InitEncode):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (242882 => 242883)
--- trunk/Source/WebCore/ChangeLog 2019-03-13 15:33:01 UTC (rev 242882)
+++ trunk/Source/WebCore/ChangeLog 2019-03-13 16:08:15 UTC (rev 242883)
@@ -1,5 +1,18 @@
2019-03-13 Thibault Saunier <tsaun...@igalia.com>
+ [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.
+
+ Reviewed by Philippe Normand.
+
+ * platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp:
+ (WebCore::GStreamerVideoEncoder::InitEncode):
+
+2019-03-13 Thibault Saunier <tsaun...@igalia.com>
+
[GStreamer][WebRTC]: Use codec setting video height/width as fallback
https://bugs.webkit.org/show_bug.cgi?id=195675
Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp (242882 => 242883)
--- trunk/Source/WebCore/platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp 2019-03-13 15:33:01 UTC (rev 242882)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.cpp 2019-03-13 16:08:15 UTC (rev 242883)
@@ -142,6 +142,7 @@
auto sink = makeElement("appsink");
gst_app_sink_set_emit_signals(GST_APP_SINK(sink), TRUE);
g_signal_connect(sink, "new-sample", G_CALLBACK(newSampleCallbackTramp), this);
+ g_object_set(sink, "sync", FALSE, nullptr);
auto name = makeString(Name(), "_enc_rawcapsfilter_0x", hex(reinterpret_cast<uintptr_t>(this)));
m_capsFilter = gst_element_factory_make("capsfilter", name.utf8().data());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes