Title: [264822] trunk/Source/ThirdParty/libwebrtc
Revision
264822
Author
[email protected]
Date
2020-07-24 07:24:34 -0700 (Fri, 24 Jul 2020)

Log Message

Do not require hardware H264 encoder in case of HAVE_VTB_REQUIREDLOWLATENCY
https://bugs.webkit.org/show_bug.cgi?id=214687

Reviewed by Eric Carlson.

* Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:
(-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (264821 => 264822)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2020-07-24 14:22:19 UTC (rev 264821)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2020-07-24 14:24:34 UTC (rev 264822)
@@ -1,5 +1,15 @@
 2020-07-24  Youenn Fablet  <[email protected]>
 
+        Do not require hardware H264 encoder in case of HAVE_VTB_REQUIREDLOWLATENCY
+        https://bugs.webkit.org/show_bug.cgi?id=214687
+
+        Reviewed by Eric Carlson.
+
+        * Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:
+        (-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
+
+2020-07-24  Youenn Fablet  <[email protected]>
+
         Remove assertions in RTCVideoEncoderH264 that are wrong in case of simulcast
         https://bugs.webkit.org/show_bug.cgi?id=214684
 

Modified: trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm (264821 => 264822)


--- trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm	2020-07-24 14:22:19 UTC (rev 264821)
+++ trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm	2020-07-24 14:24:34 UTC (rev 264822)
@@ -683,8 +683,10 @@
   // Currently hw accl is supported above 360p on mac, below 360p
   // the compression session will be created with hw accl disabled.
   CFDictionarySetValue(encoderSpecs, kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder, useHardwareEncoder);
+#if !HAVE_VTB_REQUIREDLOWLATENCY
   CFDictionarySetValue(encoderSpecs, kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder, useHardwareEncoder);
 #endif
+#endif
   CFDictionarySetValue(encoderSpecs, kVTCompressionPropertyKey_RealTime, kCFBooleanTrue);
 
 #if ENABLE_VCP_ENCODER
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to