Extend TestVideoTrackSource API
Bug: b/272350185
Change-Id: Ibc53e7a9ee8f572475d86fc78de1c1ed71078910
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299140
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39678}
diff --git a/test/mac_capturer.mm b/test/mac_capturer.mm
index da8e9b7..9b14f28 100644
--- a/test/mac_capturer.mm
+++ b/test/mac_capturer.mm
@@ -64,6 +64,8 @@
size_t height,
size_t target_fps,
size_t capture_device_index) {
+ width_ = width;
+ height_ = height;
RTCTestVideoSourceAdapter *adapter = [[RTCTestVideoSourceAdapter alloc] init];
adapter_ = (__bridge_retained void *)adapter;
adapter.capturer = this;