[webcodecs] Fix the buffer size issue during H.264 conversion.
Between AnnexB and AVCC bitstream formats, the start code length and the nal size length can be different. Here to retry the conversion if the output buffer size is too small. Bug: 1119636 Change-Id: I517e81ef152a19b577fa04a60297f1dc35b1aeb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508998Reviewed-by:Dan Sanders <sandersd@chromium.org> Reviewed-by:
Eugene Zemtsov <eugene@chromium.org> Commit-Queue: Chunbo Hua <chunbo.hua@intel.com> Cr-Commit-Position: refs/heads/master@{#822960}
Showing
Please register or sign in to comment