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

Issue 336213011: Fix: Changing canPlayType behaviour for MP4 containers (Closed)

Created:
6 years, 5 months ago by amogh.bihani
Modified:
6 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cbentzel+watch_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix: Changing canPlayType behaviour for MP4 containers This patch amends the behaviour set for mp4 mime types in r277386. 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 mp4a.40.29 --| "" | probably BUG=388317, 53193

Patch Set 1 #

Patch Set 2 : Correcting comment in browser tests #

Patch Set 3 : Correcting type in mime_util #

Total comments: 11

Patch Set 4 : addressing comments #

Patch Set 5 : Rebase after r280768 #

Patch Set 6 : Correcting tests#1 #

Patch Set 7 : Correcting tests#2 #

Total comments: 2

Patch Set 8 : Correcting comment #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 6

Patch Set 11 : Rebase #

Patch Set 12 : Modifying comments #

Patch Set 13 : Modifying comments #2 #

Patch Set 14 : addressing comments #

Total comments: 2

Patch Set 15 : Overloading AreSupportedCodecs #

Total comments: 2

Patch Set 16 : Changing method names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -132 lines) Patch
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +82 lines, -42 lines 0 comments Download
M net/base/mime_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 chunks +159 lines, -90 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
amogh.bihani
Apologies for the delay. I misunderstood the comment in the bug. I was waiting for ...
6 years, 5 months ago (2014-06-30 11:17:07 UTC) #1
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/336213011/diff/30001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/336213011/diff/30001/content/browser/media/media_canplaytype_browsertest.cc#newcode903 content/browser/media/media_canplaytype_browsertest.cc:903: EXPECT_EQ(maybeCanPlayHLS, CanPlay("'application/vnd.apple.mpegurl'")); There appears to be a fair amount ...
6 years, 5 months ago (2014-06-30 20:00:07 UTC) #2
amogh.bihani
PTAL. Comments are in PS#3 https://codereview.chromium.org/336213011/diff/30001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/30001/net/base/mime_util.cc#newcode478 net/base/mime_util.cc:478: // mp4a.40.29 - MPEG-4 ...
6 years, 5 months ago (2014-07-01 12:53:57 UTC) #3
acolwell GONE FROM CHROMIUM
lgtm % comments https://codereview.chromium.org/336213011/diff/30001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/30001/net/base/mime_util.cc#newcode478 net/base/mime_util.cc:478: // mp4a.40.29 - MPEG-4 HE-AACv2 On ...
6 years, 5 months ago (2014-07-01 17:28:17 UTC) #4
amogh.bihani
+r: Ryan PTAL.
6 years, 5 months ago (2014-07-02 03:13:25 UTC) #5
amogh.bihani
Ryan: Ping!
6 years, 5 months ago (2014-07-04 01:29:54 UTC) #6
amogh.bihani
On 2014/07/04 01:29:54, amogh.bihani wrote: > Ryan: Ping! Ryan: Please review :)
6 years, 5 months ago (2014-07-08 03:32:49 UTC) #7
Ryan Sleevi
https://codereview.chromium.org/336213011/diff/170001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/170001/net/base/mime_util.cc#newcode288 net/base/mime_util.cc:288: "video/ogg", This is no longer consistent with the comment ...
6 years, 5 months ago (2014-07-09 23:56:13 UTC) #8
amogh.bihani
Thanks for the review :) Comments in PS#10 https://codereview.chromium.org/336213011/diff/170001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/170001/net/base/mime_util.cc#newcode664 net/base/mime_util.cc:664: // ...
6 years, 5 months ago (2014-07-10 04:02:49 UTC) #9
Ryan Sleevi
https://codereview.chromium.org/336213011/diff/170001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/170001/net/base/mime_util.cc#newcode664 net/base/mime_util.cc:664: // string in reply. On 2014/07/10 04:02:49, amogh.bihani wrote: ...
6 years, 5 months ago (2014-07-10 20:58:44 UTC) #10
amogh.bihani
Thanks for the review :) I have some doubts. Comment is in PS#14. PTAL. https://codereview.chromium.org/336213011/diff/250001/net/base/mime_util.cc ...
6 years, 5 months ago (2014-07-11 09:03:54 UTC) #11
Ryan Sleevi
https://codereview.chromium.org/336213011/diff/250001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/250001/net/base/mime_util.cc#newcode866 net/base/mime_util.cc:866: MimeExpressionMappings all_supported_codecs = it_expression_map->second; On 2014/07/11 09:03:53, amogh.bihani wrote: ...
6 years, 5 months ago (2014-07-11 18:51:17 UTC) #12
amogh.bihani
Thanks! I have made the changes. PTAL.
6 years, 5 months ago (2014-07-14 09:10:35 UTC) #13
Ryan Sleevi
We don't do function overloading like this. See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Overloading#Function_Overloading I don't think what's being asked ...
6 years, 5 months ago (2014-07-14 18:25:10 UTC) #14
amogh.bihani
https://codereview.chromium.org/336213011/diff/270001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/336213011/diff/270001/net/base/mime_util.cc#newcode895 net/base/mime_util.cc:895: AreSupportedCodecs(it_strict_map->second, On 2014/07/14 18:25:09, Ryan Sleevi wrote: > BUG: ...
6 years, 5 months ago (2014-07-15 08:35:32 UTC) #15
amogh.bihani
Ping!
6 years, 5 months ago (2014-07-18 03:51:24 UTC) #16
Ryan Sleevi
This is pending the move of this code to media/
6 years, 5 months ago (2014-07-18 20:08:19 UTC) #17
acolwell GONE FROM CHROMIUM
On 2014/07/18 20:08:19, Ryan Sleevi wrote: > This is pending the move of this code ...
6 years, 5 months ago (2014-07-18 20:58:00 UTC) #18
amogh.bihani
6 years, 4 months ago (2014-07-30 03:15:59 UTC) #19
Closing this as the bug has been solved by
https://codereview.chromium.org/422573005/

Powered by Google App Engine
This is Rietveld 408576698