Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Issue 2338213005: Look into full URL spec to see whether it is MP4 (Closed)

Created:
4 years, 3 months ago by Tima Vaisburd
Modified:
4 years, 3 months ago
Reviewers:
DaleCurtis, piman
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, ddorwin, feature-media-reviews_chromium.org, jam, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/8cda8cd5f2766bb31636ebba30fca01d64d97f46 Cr-Commit-Position: refs/heads/master@{#419272}

Patch Set 1 #

Patch Set 2 : Simplified the test for "mp4" #

Total comments: 2

Patch Set 3 : Added reference to the bug in the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -11 lines) Patch
M content/renderer/render_frame_impl.cc View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M media/base/mime_util_internal.cc View 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
Tima Vaisburd
PTAL. Feel free to update the description.
4 years, 3 months ago (2016-09-15 02:37:01 UTC) #2
DaleCurtis
I'd just search mp4 without the video/ and guard this by !has platform decoder. Also ...
4 years, 3 months ago (2016-09-15 16:26:57 UTC) #3
Tima Vaisburd
On 2016/09/15 16:26:57, DaleCurtis wrote: > I'd just search mp4 without the video/ and guard ...
4 years, 3 months ago (2016-09-15 18:45:38 UTC) #4
DaleCurtis
It's fine either way, soon we'll be able to handle this without any URL checks, ...
4 years, 3 months ago (2016-09-15 19:10:48 UTC) #5
DaleCurtis
lgtm
4 years, 3 months ago (2016-09-16 00:03:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338213005/20001
4 years, 3 months ago (2016-09-16 00:56:00 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/260751)
4 years, 3 months ago (2016-09-16 01:07:42 UTC) #14
Tima Vaisburd
piman@: Asking for OWNERS review.
4 years, 3 months ago (2016-09-16 01:37:11 UTC) #16
piman
lgtm https://codereview.chromium.org/2338213005/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2338213005/diff/20001/content/renderer/render_frame_impl.cc#newcode800 content/renderer/render_frame_impl.cc:800: // Assume "mp4" means H264. nit: please add ...
4 years, 3 months ago (2016-09-16 01:45:00 UTC) #17
Tima Vaisburd
https://codereview.chromium.org/2338213005/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2338213005/diff/20001/content/renderer/render_frame_impl.cc#newcode800 content/renderer/render_frame_impl.cc:800: // Assume "mp4" means H264. On 2016/09/16 01:45:00, piman ...
4 years, 3 months ago (2016-09-16 19:04:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338213005/40001
4 years, 3 months ago (2016-09-16 19:04:58 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-16 20:33:06 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 20:36:10 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8cda8cd5f2766bb31636ebba30fca01d64d97f46
Cr-Commit-Position: refs/heads/master@{#419272}

Powered by Google App Engine
This is Rietveld 408576698