Title: [269001] trunk/Source/WebCore
- Revision
- 269001
- Author
- [email protected]
- Date
- 2020-10-26 16:47:18 -0700 (Mon, 26 Oct 2020)
Log Message
evictCodedFrames does extra work if RELEASE_LOG_DISABLED is set
https://bugs.webkit.org/show_bug.cgi?id=218203
Reviewed by Eric Carlson.
Undo part of previous logging change that prevents checking
if the buffer is still full after the first part of eviction
if RELEASE_LOG_DISABLED is set.
* Modules/mediasource/SourceBuffer.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (269000 => 269001)
--- trunk/Source/WebCore/ChangeLog 2020-10-26 23:38:10 UTC (rev 269000)
+++ trunk/Source/WebCore/ChangeLog 2020-10-26 23:47:18 UTC (rev 269001)
@@ -1,3 +1,16 @@
+2020-10-26 Stephan Szabo <[email protected]>
+
+ evictCodedFrames does extra work if RELEASE_LOG_DISABLED is set
+ https://bugs.webkit.org/show_bug.cgi?id=218203
+
+ Reviewed by Eric Carlson.
+
+ Undo part of previous logging change that prevents checking
+ if the buffer is still full after the first part of eviction
+ if RELEASE_LOG_DISABLED is set.
+
+ * Modules/mediasource/SourceBuffer.cpp:
+
2020-10-26 Simon Fraser <[email protected]>
REGRESSION (r260276): Unable to click on image and text link at the bottom of https://www.nytimes.com/ article
Modified: trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp (269000 => 269001)
--- trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp 2020-10-26 23:38:10 UTC (rev 269000)
+++ trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp 2020-10-26 23:47:18 UTC (rev 269001)
@@ -974,12 +974,12 @@
rangeEnd += thirtySeconds;
}
+ if (!m_bufferFull) {
#if !RELEASE_LOG_DISABLED
- if (!m_bufferFull) {
DEBUG_LOG(LOGIDENTIFIER, "evicted ", initialBufferedSize - extraMemoryCost());
+#endif
return;
}
-#endif
// If there still isn't enough free space and there buffers in time ranges after the current range (ie. there is a gap after
// the current buffered range), delete 30 seconds at a time from duration back to the current time range or 30 seconds after
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes