webrtc/sdk/objc/components
Jaehyun Ko 382a1528ef DCHECK the frame resolution only if the frame buffer is not native.
If the source image has a native handle and the encoder supports
the native handle, the encoder is expected to be able to correctly
sample/scale the source.

And VTCompressionSession can handle this, so DCHECK the frame
resolution only if the frame buffer is not native.

Bug: webrtc:14318
Change-Id: Id19c2f3bd86e9a2e1034d20e0255b4adc04a781f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270144
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37730}
2022-08-10 07:54:43 +00:00
..
audio Delete rtc_base/atomic_ops.h 2022-06-28 08:32:13 +00:00
capturer Revert "Add a prefix for objc category." 2022-05-13 14:47:54 +00:00
network Adopt absl::string_view in function parameters under rtc_base/ 2022-03-17 15:39:26 +00:00
renderer Add a sanity check of RTCVideoFrame in RTCMTLVideoView 2022-01-06 10:43:05 +00:00
video_codec DCHECK the frame resolution only if the frame buffer is not native. 2022-08-10 07:54:43 +00:00
video_frame_buffer Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00