Skip to content
Commit ee29d0f1 authored by Xiaohan Wang's avatar Xiaohan Wang Committed by Chromium LUCI CQ
Browse files

media: Fix DolbyVision level parsing

Right now we only allow DolbyVision (DV) levels from 1 to 9.
But Dolby documentation says the levels could be in the range [01, 13]:
https://professional.dolby.com/siteassets/content-creation/dolby-vision-for-content-creators/dolbyvisioninmpegdashspecification_v2_0_public_20190107.pdf

This CL updates ParseDolbyVisionCodecId() to fix level parsing.

Bug: b/198001221
Test: Unit tests updated
Change-Id: Ib01aefe01173bd860af814a3cc578f1ed09662a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3866811


Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1041597}
parent 23f0beff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment