DescriptionExtract supported codecs from CDM component manifest.
Look for "x-cdm-codecs" in the manifest and set its value in
WebPluginInfo::WebPluginMimeType::additional_param_* where it can be used to
determine the types supported.
The manifest is read when registering existing components in addition to new
installs so that the manifest information is always available.
Also updated the non-component path so the behavior is consistent for the
consumer, which will be updated in a separate CL.
BUG=311370
TEST=canPlayType() with various manifest configurations
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231197
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use constant; support existing manifests #
Total comments: 21
Patch Set 3 : review feedback #
Total comments: 4
Patch Set 4 : added includes; removed DLOG #
Messages
Total messages: 15 (0 generated)
|