⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 271227 in webkit


Ignore:
Timestamp:
Jan 7, 2021, 12:10:47 AM (6 years ago)
Author:
youenn@apple.com
Message:

Remove non-inclusive language from libwebrtc
https://bugs.webkit.org/show_bug.cgi?id=220101
<rdar://problem/72727968>

Reviewed by Beth Dakin.

Remove logging erroneously added in https://trac.webkit.org/changeset/271150.
Remove non-inclusive language from Source/webrtc/rtc_base/message_digest.h as done in
https://webrtc-review.googlesource.com/c/src/+/200701.

  • Source/webrtc/rtc_base/message_digest.h:
  • Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderH264.mm:

(-[RTCVideoDecoderH264 init]):
(-[RTCVideoDecoderH264 decodeData:size:timeStamp:]):

  • Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:

(-[RTCVideoEncoderH264 initWithCodecInfo:]):
(-[RTCVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]):
(-[RTCVideoEncoderH264 frameWasEncoded:flags:sampleBuffer:codecSpecificInfo:width:height:renderTimeMs:timestamp:rotation:isKeyFrameRequired:]):

Location:
trunk/Source/ThirdParty/libwebrtc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/libwebrtc/ChangeLog

    r271150 r271227  
     12021-01-07  Youenn Fablet  <youenn@apple.com>
     2
     3        Remove non-inclusive language from libwebrtc
     4        https://bugs.webkit.org/show_bug.cgi?id=220101
     5        <rdar://problem/72727968>
     6
     7        Reviewed by Beth Dakin.
     8
     9        Remove logging erroneously added in https://trac.webkit.org/changeset/271150.
     10        Remove non-inclusive language from Source/webrtc/rtc_base/message_digest.h as done in
     11        https://webrtc-review.googlesource.com/c/src/+/200701.
     12
     13        * Source/webrtc/rtc_base/message_digest.h:
     14        * Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderH264.mm:
     15        (-[RTCVideoDecoderH264 init]):
     16        (-[RTCVideoDecoderH264 decodeData:size:timeStamp:]):
     17        * Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:
     18        (-[RTCVideoEncoderH264 initWithCodecInfo:]):
     19        (-[RTCVideoEncoderH264 encode:codecSpecificInfo:frameTypes:]):
     20        (-[RTCVideoEncoderH264 frameWasEncoded:flags:sampleBuffer:codecSpecificInfo:width:height:renderTimeMs:timestamp:rotation:isKeyFrameRequired:]):
     21
    1222021-01-05  Youenn Fablet  <youenn@apple.com>
    223
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/message_digest.h

    r252473 r271227  
    4646};
    4747
    48 // A whitelist of approved digest algorithms from RFC 4572 (FIPS 180).
     48// A check that an algorithm is in a list of approved digest algorithms
     49// from RFC 4572 (FIPS 180).
    4950bool IsFips180DigestAlgorithm(const std::string& alg);
    5051
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderH264.mm

    r271150 r271227  
    8383    _memoryPool = CMMemoryPoolCreate(nil);
    8484  }
    85     RTC_LOG(LS_ERROR) << "H264 decode init";
    8685  return self;
    8786}
     
    111110        timeStamp:(uint32_t)timeStamp {
    112111
    113     RTC_LOG(LS_ERROR) << "H264 decodeData";
    114112  if (_error != noErr) {
    115113    RTC_LOG(LS_WARNING) << "Last frame decode failed.";
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm

    r271150 r271227  
    378378  _isH264LowLatencyEncoderEnabled = true;
    379379
    380   RTC_LOG(LS_ERROR) << "H264 encode initWithCodecInfo";
    381 
    382380  return self;
    383381}
     
    430428    codecSpecificInfo:(nullable id<RTCCodecSpecificInfo>)codecSpecificInfo
    431429           frameTypes:(NSArray<NSNumber *> *)frameTypes {
    432 
    433   RTC_LOG(LS_ERROR) << "H264 encode new frame";
    434 
    435430  if (!_callback || ![self hasCompressionSession]) {
    436431    return WEBRTC_VIDEO_CODEC_UNINITIALIZED;
     
    885880               rotation:(RTCVideoRotation)rotation
    886881     isKeyFrameRequired:(bool)isKeyFrameRequired {
    887   RTC_LOG(LS_ERROR) << "H264 encoded frame " << status;
    888882  if (status != noErr) {
    889883    RTC_LOG(LS_ERROR) << "H264 encode failed with code: " << status;
Note: See TracChangeset for help on using the changeset viewer.