Chromium Code Reviews
Description[Merge M54] Look into full URL spec to see whether it is MP4
On certain Android devices MediaCodec is blacklisted.
To support H264 we fall back to MediaCodec, and we
decide whether this is H264 by looking at URL.
This CL improves that decision making: before we only
checked whether the path suffisc was ".mp4", now we look
for "video/mp4" in the whole URL spec as well.
In addition this CL makes canPlayType() return
"probably" for H264 codec.
BUG=642988
TBR=timav
> Review-Url: https://codereview.chromium.org/2338213005
> Cr-Commit-Position: refs/heads/master@{#419272}
Committed: https://chromium.googlesource.com/chromium/src/+/f2d0438963f2df69d0ebc397a76270af8ef93052
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||