Changeset 245948 in webkit
- Timestamp:
- May 30, 2019, 9:57:06 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/mediastream/mac/AVVideoCaptureSource.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r245947 r245948 1 2019-05-30 Youenn Fablet <youenn@apple.com> 2 3 Fix AVVideoCaptureSource::setFrameRateWithPreset logging 4 https://bugs.webkit.org/show_bug.cgi?id=198392 5 6 Reviewed by Eric Carlson. 7 8 Move logging from setFrameRateWithPreset to setSessionSizeAndFrameRate which does the actual job. 9 This ensures to not log in case of preset being null. 10 No change of behavior. 11 12 * platform/mediastream/mac/AVVideoCaptureSource.mm: 13 (WebCore::AVVideoCaptureSource::setFrameRateWithPreset): 14 (WebCore::AVVideoCaptureSource::setSessionSizeAndFrameRate): 15 1 16 2019-05-30 Jer Noble <jer.noble@apple.com> 2 17 -
trunk/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm
r245478 r245948 286 286 void AVVideoCaptureSource::setFrameRateWithPreset(double requestedFrameRate, RefPtr<VideoPreset> preset) 287 287 { 288 ALWAYS_LOG_IF(loggerPtr(), LOGIDENTIFIER, SizeAndFrameRate { preset->size.width(), preset->size.height(), requestedFrameRate });289 290 288 auto* avPreset = preset ? downcast<AVVideoPreset>(preset.get()) : nullptr; 291 289 m_currentPreset = avPreset; … … 303 301 if (!avPreset) 304 302 return; 303 304 ALWAYS_LOG_IF(loggerPtr(), LOGIDENTIFIER, SizeAndFrameRate { m_currentPreset->size.width(), m_currentPreset->size.height(), m_currentFrameRate }); 305 305 306 306 ASSERT(avPreset->format);
Note:
See TracChangeset
for help on using the changeset viewer.