Title: [246968] releases/WebKitGTK/webkit-2.24/Source/WebCore
- Revision
- 246968
- Author
- [email protected]
- Date
- 2019-07-01 01:53:03 -0700 (Mon, 01 Jul 2019)
Log Message
Merge r246399 - [GStreamer] HLS stream slow start
https://bugs.webkit.org/show_bug.cgi?id=198377
Reviewed by Xabier Rodriguez-Calvar.
* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(webKitWebSrcCreate): Cut down the adapter condition to 200 ms to
improve start-up times for HLS playback.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog (246967 => 246968)
--- releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog 2019-07-01 08:52:59 UTC (rev 246967)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog 2019-07-01 08:53:03 UTC (rev 246968)
@@ -1,3 +1,14 @@
+2019-06-13 Philippe Normand <[email protected]>
+
+ [GStreamer] HLS stream slow start
+ https://bugs.webkit.org/show_bug.cgi?id=198377
+
+ Reviewed by Xabier Rodriguez-Calvar.
+
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ (webKitWebSrcCreate): Cut down the adapter condition to 200 ms to
+ improve start-up times for HLS playback.
+
2019-05-28 Yacine Bandou <[email protected]>
[MSE][GStreamer] update the readyState correctly in MediaPlayerPrivateGStreamerMSE
Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp (246967 => 246968)
--- releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2019-07-01 08:52:59 UTC (rev 246967)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2019-07-01 08:53:03 UTC (rev 246968)
@@ -389,7 +389,9 @@
unsigned retries = 0;
size_t available = gst_adapter_available_fast(priv->adapter.get());
while (available < size && !isAdapterDrained) {
- priv->adapterCondition.waitFor(priv->adapterLock, Seconds(1));
+ priv->adapterCondition.waitFor(priv->adapterLock, 200_ms, [&] {
+ return gst_adapter_available_fast(priv->adapter.get()) >= size;
+ });
retries++;
available = gst_adapter_available_fast(priv->adapter.get());
if (available && available < size)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes