Bug 237978

Summary: [Cocoa] Minor AVVideoCaptureSource cleanup
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: WebRTCAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, glenn, hta, jer.noble, peng.liu6, philipj, sergio, tommyw, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=231621
Attachments:
Description Flags
Patch none

Eric Carlson
Reported 2022-03-16 13:13:26 PDT
Minor AVVideoCaptureSource cleanup
Attachments
Patch (2.19 KB, patch)
2022-03-16 13:22 PDT, Eric Carlson
no flags
Radar WebKit Bug Importer
Comment 1 2022-03-16 13:13:36 PDT
Eric Carlson
Comment 2 2022-03-16 13:22:09 PDT
Peng Liu
Comment 3 2022-03-16 13:53:06 PDT
Comment on attachment 454887 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=454887&action=review > Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:429 > + m_session = adoptNS([PAL::allocAVCaptureSessionInstance() init]); Looks like this change is not intended?
Eric Carlson
Comment 4 2022-03-16 14:03:34 PDT
Comment on attachment 454887 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=454887&action=review >> Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:429 >> + m_session = adoptNS([PAL::allocAVCaptureSessionInstance() init]); > > Looks like this change is not intended? It is, it is needed to line up with the `else` above the `#else`.
EWS
Comment 5 2022-03-16 16:02:20 PDT
Committed r291374 (248506@main): <https://commits.webkit.org/248506@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454887 [details].
Note You need to log in before you can comment on or make changes to this bug.