DxgiOutputDuplicator should initialize num_frames_captured_
Otherwise Check failed: !!last_frame_ == num_frames_captured_ > 0 (1 vs. 0) may be triggered. BUG=webrtc:7339 Review-Url: https://codereview.webrtc.org/2755493003 Cr-Commit-Position: refs/heads/master@{#17266}
This commit is contained in:
parent
bb511ef850
commit
299b67809a
@ -128,7 +128,7 @@ class DxgiOutputDuplicator {
|
||||
std::unique_ptr<SharedDesktopFrame> last_frame_;
|
||||
DesktopVector last_frame_offset_;
|
||||
|
||||
int64_t num_frames_captured_;
|
||||
int64_t num_frames_captured_ = 0;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user