Title: [234977] trunk/Source/WebCore
Revision
234977
Author
[email protected]
Date
2018-08-17 01:52:16 -0700 (Fri, 17 Aug 2018)

Log Message

[GStreamer][MSE] Disable last-sample support in AppendPipeline
https://bugs.webkit.org/show_bug.cgi?id=188649

Patch by Philippe Normand <[email protected]> on 2018-08-17
Reviewed by Xabier Rodriguez-Calvar.

* platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::AppendPipeline): This property isn't
used by the append pipeline. So as a micro-optimization, it is now
disabled.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (234976 => 234977)


--- trunk/Source/WebCore/ChangeLog	2018-08-17 04:58:49 UTC (rev 234976)
+++ trunk/Source/WebCore/ChangeLog	2018-08-17 08:52:16 UTC (rev 234977)
@@ -1,3 +1,15 @@
+2018-08-17  Philippe Normand  <[email protected]>
+
+        [GStreamer][MSE] Disable last-sample support in AppendPipeline
+        https://bugs.webkit.org/show_bug.cgi?id=188649
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * platform/graphics/gstreamer/mse/AppendPipeline.cpp:
+        (WebCore::AppendPipeline::AppendPipeline): This property isn't
+        used by the append pipeline. So as a micro-optimization, it is now
+        disabled.
+
 2018-08-16  Devin Rousso  <[email protected]>
 
         Web Inspector: support breakpoints for arbitrary event names

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp (234976 => 234977)


--- trunk/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp	2018-08-17 04:58:49 UTC (rev 234976)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp	2018-08-17 08:52:16 UTC (rev 234977)
@@ -147,6 +147,7 @@
 
     gst_app_sink_set_emit_signals(GST_APP_SINK(m_appsink.get()), TRUE);
     gst_base_sink_set_sync(GST_BASE_SINK(m_appsink.get()), FALSE);
+    gst_base_sink_set_last_sample_enabled(GST_BASE_SINK(m_appsink.get()), FALSE);
 
     GRefPtr<GstPad> appsinkPad = adoptGRef(gst_element_get_static_pad(m_appsink.get(), "sink"));
     g_signal_connect(appsinkPad.get(), "notify::caps", G_CALLBACK(appendPipelineAppsinkCapsChanged), this);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to