RtcVideoDecoderAdapter: Query frame size in every spatial frame layer all the time
RtcVideoDecoderAdapter gets frame sizes of each spatial frame layer so that a hardware decoder decodes VP9 SVC correctly. It queries the frame size from a small-index spatial layer, and don't query if the spatial layer doesn't have the size. However, an index spatial layer has the frame size even though smaller spatial layers than the index don't have. RtcVideoDecoderAdapter must continu querying until the maximum spatial layers. Bug: b:141978593, 935411 Test: VP9 stream in screen share scenario is decoded correctly on atlas Change-Id: I24ec652368b435983e9a529af95b16548a45472c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1849613Reviewed-by:Henrik Boström <hbos@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#704183}
Showing
Please register or sign in to comment