• Xiaohan Wang's avatar
    media: Refactor EME VP9 profiles 1/2/3 support · 2c68c2d3
    Xiaohan Wang authored
    Currently there's a special logic in mime_util_internal.cc that
    encrypted VP9 profiles 1/2/3 are generally not supported. In this CL,
    this logic is removed, so that each key system has the opportunity to
    declare whether VP9 profiles 1/2/3 are supported.
    
    To do so, EME_CODEC_LEGACY_VP9 is replaced by EME_CODEC_VP9_PROFILE0,
    which is used for both legacy VP9 ("vp9" and "vp9.0") and new multi-part
    VP9 profile 0 ("vp09.00.*"). EME_CODEC_VP9_PROFILES123 is added for
    VP9 profiles 1/2/3.
    
    Since External Clear Key (ECK) key system supports all codecs, now VP9
    profiles 1/2/3 are supported by ECK. Browser tests are updated to
    reflect this.
    
    Bug: 707127
    Test: Updated test cases
    Change-Id: Ia6cdabde0edc4680d0bfa0f8a74a7b8e4151d4e1
    Reviewed-on: https://chromium-review.googlesource.com/c/1274893Reviewed-by: default avatarChrome Cunningham <chcunningham@chromium.org>
    Reviewed-by: default avatarSergey Volk <servolk@chromium.org>
    Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
    Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#599861}
    2c68c2d3
chrome_key_systems.cc 13.3 KB