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

Issue 422573005: Refactor net::MimeUtil media code to return probably for codecs the platform likely supports. (Closed)

Created:
6 years, 5 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cbentzel+watch_chromium.org, jam, darin-cc_chromium.org
Project:
chromium
Visibility:
Public.

Description

Refactor net::MimeUtil media code to return "probably" for codecs the platform likely supports. This patch amends the behaviour set for mp4 mime types Now browser returns "probably" for codecs which are confirmed to be shipped with Chrome. CodecPrameter| Before| Now -------------------------------- avc1.42E0xx -| maybe | probably avc1.4D40xx -| maybe | probably (non-Android) avc1.6400xx -| maybe | probably (non-Android) avc3.xxxxxx -| maybe | probably mp4a.6B -----| maybe | probably mp4a.69 -----| maybe | probably mp4a.67 -----| maybe | probably (non-Android) mp4a.40.2 ---| maybe | probably mp4a.40.5 ---| maybe | probably BUG=388317 TEST=MediaCanPlayTypeTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286333

Patch Set 1 #

Patch Set 2 : Add comments and cleanup some stuff. #

Patch Set 3 : Make Android happy #

Patch Set 4 : Fix VP9 support on Android condition. #

Total comments: 20

Patch Set 5 : Address CR comments. #

Total comments: 4

Patch Set 6 : Address CR comments #

Total comments: 6

Patch Set 7 : Address CR comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -229 lines) Patch
M content/browser/media/media_canplaytype_browsertest.cc View 4 chunks +82 lines, -42 lines 0 comments Download
M net/base/mime_util.cc View 1 2 3 4 5 6 15 chunks +358 lines, -187 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
acolwell GONE FROM CHROMIUM
Since https://codereview.chromium.org/401523002/ turned into a "move all the mime things", I was wondering it would ...
6 years, 5 months ago (2014-07-26 00:31:47 UTC) #1
acolwell GONE FROM CHROMIUM
Fix VP9 support on Android condition.
6 years, 5 months ago (2014-07-26 00:58:37 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/422573005/diff/60001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/422573005/diff/60001/net/base/mime_util.cc#newcode119 net/base/mime_util.cc:119: typedef std::pair<Codec, bool> StringToCodecEntry; Unnamed tuples are hard to ...
6 years, 5 months ago (2014-07-26 02:15:55 UTC) #3
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/422573005/diff/60001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/422573005/diff/60001/net/base/mime_util.cc#newcode119 net/base/mime_util.cc:119: typedef std::pair<Codec, bool> StringToCodecEntry; On 2014/07/26 02:15:54, Ryan Sleevi ...
6 years, 4 months ago (2014-07-28 17:31:43 UTC) #4
Ryan Sleevi
LGTM. Quality cleanup. https://codereview.chromium.org/422573005/diff/80001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/422573005/diff/80001/net/base/mime_util.cc#newcode125 net/base/mime_util.cc:125: typedef std::map<std::string, CodecEntry> StringToCodecMappings; nit: delete ...
6 years, 4 months ago (2014-07-29 01:14:48 UTC) #5
acolwell GONE FROM CHROMIUM
Thanks for the review. https://codereview.chromium.org/422573005/diff/80001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/422573005/diff/80001/net/base/mime_util.cc#newcode125 net/base/mime_util.cc:125: typedef std::map<std::string, CodecEntry> StringToCodecMappings; On ...
6 years, 4 months ago (2014-07-29 01:33:26 UTC) #6
scherkus (not reviewing)
silly style nits lgtm -- thanks for tackling this! https://codereview.chromium.org/422573005/diff/100001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/422573005/diff/100001/net/base/mime_util.cc#newcode156 net/base/mime_util.cc:156: ...
6 years, 4 months ago (2014-07-29 02:05:10 UTC) #7
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/422573005/diff/100001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/422573005/diff/100001/net/base/mime_util.cc#newcode156 net/base/mime_util.cc:156: // Returns true if |codec| is supported by the ...
6 years, 4 months ago (2014-07-29 16:26:17 UTC) #8
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 4 months ago (2014-07-29 16:26:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/422573005/120001
6 years, 4 months ago (2014-07-29 16:27:07 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 23:35:59 UTC) #11
Message was sent while issue was closed.
Change committed as 286333

Powered by Google App Engine
This is Rietveld 408576698