Changeset 239240 in webkit
- Timestamp:
- Dec 14, 2018 4:06:15 PM (5 years ago)
- Location:
- trunk/Source/ThirdParty/libwebrtc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r239220 r239240 1 2018-12-14 Youenn Fablet <youenn@apple.com> 2 3 kVTVideoEncoderSpecification_Usage should not be set if VCP is not enabled 4 https://bugs.webkit.org/show_bug.cgi?id=192716 5 6 Reviewed by Eric Carlson. 7 8 https://trac.webkit.org/changeset/239220 sets the usage value for all platforms, but we should only enable it for VCP. 9 * Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm: 10 (-[RTCSingleVideoEncoderH264 resetCompressionSessionWithPixelFormat:]): 11 1 12 2018-12-14 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm
r239220 r239240 619 619 CFDictionarySetValue(encoderSpecs, kVTCompressionPropertyKey_RealTime, kCFBooleanTrue); 620 620 621 if (auto key = getkVTVideoEncoderSpecification_Usage()) { 622 int usageValue = 1;623 auto usage = CFNumberCreate(nullptr, kCFNumberIntType, &usageValue);624 CFDictionarySetValue(encoderSpecs, (__bridge CFStringRef)key, usage);625 CFRelease(usage);626 }627 621 #if ENABLE_VCP_ENCODER 622 auto key = getkVTVideoEncoderSpecification_Usage(); 623 int usageValue = 1; 624 auto usage = CFNumberCreate(nullptr, kCFNumberIntType, &usageValue); 625 CFDictionarySetValue(encoderSpecs, (__bridge CFStringRef)key, usage); 626 CFRelease(usage); 627 #endif 628 628 OSStatus status = 629 629 CompressionSessionCreate(nullptr, // use default allocator
Note: See TracChangeset
for help on using the changeset viewer.