RESOLVED FIXED 188866
[MediaStream] Store video preset sizes in a map
https://bugs.webkit.org/show_bug.cgi?id=188866
Summary [MediaStream] Store video preset sizes in a map
Eric Carlson
Reported 2018-08-22 14:51:54 PDT
Make a map of the available video presets once instead of looking each one up again and again.
Attachments
Patch (13.19 KB, patch)
2018-08-22 15:35 PDT, Eric Carlson
youennf: review+
Patch for landing (11.56 KB, patch)
2018-08-22 16:31 PDT, Eric Carlson
no flags
Patch for landing (11.58 KB, patch)
2018-08-23 09:19 PDT, Eric Carlson
no flags
Radar WebKit Bug Importer
Comment 1 2018-08-22 15:13:25 PDT
Eric Carlson
Comment 2 2018-08-22 15:35:49 PDT
youenn fablet
Comment 3 2018-08-22 16:00:38 PDT
Comment on attachment 347855 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=347855&action=review > Source/WebCore/platform/mediastream/RealtimeMediaSource.h:279 > + VideoPresetMap m_supportedPresets; I would keep m_supportedPresets in AVVideoCaptureSource for now since this is the sole user.
Eric Carlson
Comment 4 2018-08-22 16:31:58 PDT
Created attachment 347872 [details] Patch for landing
Eric Carlson
Comment 5 2018-08-23 09:19:51 PDT
Created attachment 347927 [details] Patch for landing
WebKit Commit Bot
Comment 6 2018-08-23 12:31:36 PDT
Comment on attachment 347927 [details] Patch for landing Clearing flags on attachment: 347927 Committed r235233: <https://trac.webkit.org/changeset/235233>
Note You need to log in before you can comment on or make changes to this bug.