WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
214830
Disable low latency code path for H264 constrained baseline
https://bugs.webkit.org/show_bug.cgi?id=214830
Summary
Disable low latency code path for H264 constrained baseline
youenn fablet
Reported
2020-07-27 08:49:55 PDT
Disable low latency code path for H264 constrained baseline
Attachments
Patch
(6.95 KB, patch)
2020-07-27 08:56 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2020-07-27 08:50:28 PDT
low latency code path is not yet ready to handle CBP, except potentially on MacOS, software code path.
youenn fablet
Comment 2
2020-07-27 08:56:15 PDT
Created
attachment 405281
[details]
Patch
Eric Carlson
Comment 3
2020-07-27 10:46:19 PDT
Comment on
attachment 405281
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=405281&action=review
> Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:757 > + CFBooleanRef hwaccl_enabled = nullptr; > + if (status == noErr) { > + status = VTSessionCopyProperty(_vtCompressionSession, > + kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder, > + nullptr, > + &hwaccl_enabled); > + }
I see that this is copied from RTCVideoEncoderH264 and RTCVideoEncoderH265 so it isn't new, but doesn't this leak the CFBooleanRef?
youenn fablet
Comment 4
2020-07-28 00:56:58 PDT
(In reply to Eric Carlson from
comment #3
)
> Comment on
attachment 405281
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=405281&action=review
> > > Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm:757 > > + CFBooleanRef hwaccl_enabled = nullptr; > > + if (status == noErr) { > > + status = VTSessionCopyProperty(_vtCompressionSession, > > + kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder, > > + nullptr, > > + &hwaccl_enabled); > > + } > > I see that this is copied from RTCVideoEncoderH264 and RTCVideoEncoderH265 > so it isn't new, but doesn't this leak the CFBooleanRef?
You are probably right, will handle it as a follow-up
EWS
Comment 5
2020-07-28 01:01:24 PDT
Committed
r264966
: <
https://trac.webkit.org/changeset/264966
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 405281
[details]
.
Radar WebKit Bug Importer
Comment 6
2020-07-28 01:02:17 PDT
<
rdar://problem/66205228
>
youenn fablet
Comment 7
2020-07-31 04:04:25 PDT
> > I see that this is copied from RTCVideoEncoderH264 and RTCVideoEncoderH265 > > so it isn't new, but doesn't this leak the CFBooleanRef? > > You are probably right, will handle it as a follow-up
I monitored this and this does not leak apparently. Most probably CFBooleanRef is by value so CFRelease(CFBooleanRef) is a no-op.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug