Title: [270727] trunk/Source/WebCore
Revision
270727
Author
[email protected]
Date
2020-12-11 18:36:36 -0800 (Fri, 11 Dec 2020)

Log Message

[Cocoa] Add Experimental VP8 support
https://bugs.webkit.org/show_bug.cgi?id=219732
<rdar://problem/72171055>

Reviewed by Eric Carlson.

Merge error after r270720; Use the local value isKey, rather than querying the VP9 header parser
to tell whether the incoming frame is a keyframe.

* platform/graphics/cocoa/SourceBufferParserWebM.cpp:
(WebCore::SourceBufferParserWebM::VideoTrackData::createSampleBuffer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270726 => 270727)


--- trunk/Source/WebCore/ChangeLog	2020-12-12 02:31:53 UTC (rev 270726)
+++ trunk/Source/WebCore/ChangeLog	2020-12-12 02:36:36 UTC (rev 270727)
@@ -1,3 +1,17 @@
+2020-12-11  Jer Noble  <[email protected]>
+
+        [Cocoa] Add Experimental VP8 support
+        https://bugs.webkit.org/show_bug.cgi?id=219732
+        <rdar://problem/72171055>
+
+        Reviewed by Eric Carlson.
+
+        Merge error after r270720; Use the local value isKey, rather than querying the VP9 header parser
+        to tell whether the incoming frame is a keyframe.
+
+        * platform/graphics/cocoa/SourceBufferParserWebM.cpp:
+        (WebCore::SourceBufferParserWebM::VideoTrackData::createSampleBuffer):
+
 2020-12-11  Ryosuke Niwa  <[email protected]>
 
         [GPU Process] Cache Font objects

Modified: trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp (270726 => 270727)


--- trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp	2020-12-12 02:31:53 UTC (rev 270726)
+++ trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp	2020-12-12 02:36:36 UTC (rev 270727)
@@ -1061,7 +1061,7 @@
     m_currentBlockBuffer = nullptr;
     m_currentBlockBufferPosition = 0;
 
-    if (!m_headerParser.key()) {
+    if (!isKey) {
         auto attachmentsArray = CMSampleBufferGetSampleAttachmentsArray(sampleBuffer.get(), true);
         ASSERT(attachmentsArray);
         if (!attachmentsArray) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to