webcodecs: Don't readback frames if they have GPU buffers
Currently VideoEncoder will readback frames as RGB even if they have mappable NV12 GPU buffers. There is no need to do it underlying encoders can map GPU buffers just fine. Test: https://wcwc.glitch.me/ Bug: 1166962 Change-Id: Ie72c65c4df114264a70b9da337af27a934a8b74a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631407Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Eugene Zemtsov <eugene@chromium.org> Cr-Commit-Position: refs/heads/master@{#843966}
Showing
Please register or sign in to comment