RTCVideoEncoder: Don't allocate input buffer in import mode
There is no need to create |input_buffers_| when import mode is used, this CL limits the input buffer creation to non-import mode. Bug: b:172209195 Test: apprtc on atlas Change-Id: Idc42cc6b87add2564fc2b31d771477d9c71aefeb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2548886 Commit-Queue: Zhaoliang Ma <zhaoliang.ma@intel.com> Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#829142}
Showing
Please register or sign in to comment