
If the incoming frame is a native frame but the native encoder fails, we should ensure the fallback encoder can handle the native frame. If not then the native frame should be scaled and converted. Bug: webrtc:11346 Change-Id: I692350dc69b5ce2db7ba5ee98d28f94cb12054cd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168345 Commit-Queue: Evan Shrubsole <eshr@google.com> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30504}