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

Issue 228823003: Adding check for MIME types that do not take codecs parameter (Closed)

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

Description

Adding check for MIME types that do not take codecs parameter audio/mpeg, audio/mp3, audio/x-mp3 do not take any 'codecs' parameter and canPlayType query must return "probably" of them. Browser in general returns "maybe" when no 'codecs' parameter is present. We need to check whether the mime type specifically wants 'codecs' parameter to be absent. BUG=53193 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265577

Patch Set 1 #

Total comments: 14

Patch Set 2 : Changing comments #

Patch Set 3 : #

Patch Set 4 : removing unnecessary method #

Total comments: 4

Patch Set 5 : addressing comments #

Total comments: 2

Patch Set 6 : changing AreSupportedCodecs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -168 lines) Patch
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 5 2 chunks +136 lines, -152 lines 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 4 5 1 chunk +7 lines, -8 lines 0 comments Download
M net/base/mime_util.cc View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M net/base/mime_util_unittest.cc View 1 2 3 4 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
amogh.bihani
PTAL. I have made changes in some of the mime types, as discussed in https://codereview.chromium.org/216893002/
6 years, 8 months ago (2014-04-10 11:16:57 UTC) #1
scherkus (not reviewing)
https://codereview.chromium.org/228823003/diff/1/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/228823003/diff/1/content/browser/media/media_canplaytype_browsertest.cc#newcode359 content/browser/media/media_canplaytype_browsertest.cc:359: // audio/mpeg do not allow any codecs parameter nit: ...
6 years, 8 months ago (2014-04-10 18:30:10 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/228823003/diff/1/net/base/mime_util.h File net/base/mime_util.h (right): https://codereview.chromium.org/228823003/diff/1/net/base/mime_util.h#newcode89 net/base/mime_util.h:89: // not to be present with it. The comment ...
6 years, 8 months ago (2014-04-10 19:04:16 UTC) #3
amogh.bihani
Thanks for the review :) Comments in patch set 1. https://codereview.chromium.org/228823003/diff/1/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/228823003/diff/1/content/browser/media/media_canplaytype_browsertest.cc#newcode359 ...
6 years, 8 months ago (2014-04-11 05:24:07 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/228823003/diff/1/net/base/mime_util.h File net/base/mime_util.h (right): https://codereview.chromium.org/228823003/diff/1/net/base/mime_util.h#newcode89 net/base/mime_util.h:89: // not to be present with it. On 2014/04/11 ...
6 years, 8 months ago (2014-04-14 23:52:25 UTC) #5
amogh.bihani
Thanks for the review. :) I have made the changes. https://codereview.chromium.org/228823003/diff/1/net/base/mime_util.h File net/base/mime_util.h (right): https://codereview.chromium.org/228823003/diff/1/net/base/mime_util.h#newcode89 ...
6 years, 8 months ago (2014-04-15 13:26:49 UTC) #6
scherkus (not reviewing)
few nits I'm OK w/ the current structure https://codereview.chromium.org/228823003/diff/60001/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/228823003/diff/60001/content/renderer/renderer_webkitplatformsupport_impl.cc#newcode445 content/renderer/renderer_webkitplatformsupport_impl.cc:445: // ...
6 years, 8 months ago (2014-04-15 21:05:52 UTC) #7
amogh.bihani
Thanks for the review :) https://codereview.chromium.org/228823003/diff/60001/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/228823003/diff/60001/content/renderer/renderer_webkitplatformsupport_impl.cc#newcode445 content/renderer/renderer_webkitplatformsupport_impl.cc:445: // Not Supported On ...
6 years, 8 months ago (2014-04-16 02:50:02 UTC) #8
scherkus (not reviewing)
lgtm
6 years, 8 months ago (2014-04-16 16:23:01 UTC) #9
Ryan Sleevi
https://codereview.chromium.org/228823003/diff/80001/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/228823003/diff/80001/content/renderer/renderer_webkitplatformsupport_impl.cc#newcode438 content/renderer/renderer_webkitplatformsupport_impl.cc:438: if (net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs)) How does this work without you ...
6 years, 8 months ago (2014-04-18 01:57:40 UTC) #10
amogh.bihani
Thanks for the review. :) I have made the corresponding changes. https://codereview.chromium.org/228823003/diff/80001/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): ...
6 years, 8 months ago (2014-04-21 06:10:56 UTC) #11
Ryan Sleevi
lgtm
6 years, 8 months ago (2014-04-23 02:18:36 UTC) #12
amogh.bihani
Avi@ PTAL.
6 years, 8 months ago (2014-04-23 03:18:32 UTC) #13
Avi (use Gerrit)
lgtm Cool.
6 years, 8 months ago (2014-04-23 03:27:16 UTC) #14
amogh.bihani
Thanks for the reviews :)
6 years, 8 months ago (2014-04-23 03:33:52 UTC) #15
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 8 months ago (2014-04-23 03:33:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/228823003/100001
6 years, 8 months ago (2014-04-23 03:34:37 UTC) #17
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 08:29:54 UTC) #18
Message was sent while issue was closed.
Change committed as 265577

Powered by Google App Engine
This is Rietveld 408576698