-
Chris Cunningham authored
ParseVideoCodecString() and ParseAudioCodecString() now accept "" for mime_type. This affords reuse of for this complex parsing code by WebCodecs, where encoded media is not containerized (no mime type). The two existing callers of these functions require mime types, but they already validate the mime type is present at a higher level. Bug: 1113824, 1094191 Change-Id: Ifc3f0a30dd94e4979e184e8879d3f365b28d6ebf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2359408 Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Thomas Guilbert <tguilbert@chromium.org> Auto-Submit: Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#799190}
d5699bb4