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

Issue 254913002: KeySystems: IsSupportedContainerAndCodecs() ignores empty codec. (Closed)

Created:
6 years, 8 months ago by xhwang
Modified:
6 years, 7 months ago
Reviewers:
ddorwin, Dan Beam
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

KeySystems: IsSupportedContainerAndCodecs() ignores empty codec. In IsTypeSupported() call, when the codec string in the mime type contains extra commas, e.g. ",vorbis", an empty codec will be passed into IsSupportedContainerAndCodecs. In this case, we should ignore that codec instead of assuming it's not empty. BUG=362769 TEST=Layout test crash is fixed.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M content/renderer/media/crypto/key_systems.cc View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 15 (0 generated)
xhwang
PTAL
6 years, 8 months ago (2014-04-26 00:50:48 UTC) #1
ddorwin
LGTM with comment. https://codereview.chromium.org/254913002/diff/1/content/renderer/media/crypto/key_systems.cc File content/renderer/media/crypto/key_systems.cc (right): https://codereview.chromium.org/254913002/diff/1/content/renderer/media/crypto/key_systems.cc#newcode284 content/renderer/media/crypto/key_systems.cc:284: if (codec.empty()) Does this cause use ...
6 years, 8 months ago (2014-04-26 00:51:36 UTC) #2
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 8 months ago (2014-04-26 00:58:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/254913002/1
6 years, 8 months ago (2014-04-26 01:00:28 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 03:14:16 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-04-26 03:14:16 UTC) #6
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 8 months ago (2014-04-26 03:46:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/254913002/1
6 years, 8 months ago (2014-04-26 03:47:45 UTC) #8
Dan Beam
this CL seems to have landed on a closed tree without mentioning it on the ...
6 years, 8 months ago (2014-04-26 03:58:16 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 04:17:15 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-26 04:17:15 UTC) #11
xhwang
On 2014/04/26 03:58:16, Dan Beam wrote: > this CL seems to have landed on a ...
6 years, 7 months ago (2014-04-28 18:20:58 UTC) #12
xhwang
This was committed as r266335.
6 years, 7 months ago (2014-04-28 18:24:30 UTC) #13
Dan Beam
but even if you dcommitted it probably should've closed the issue and say "committed as ...
6 years, 7 months ago (2014-04-28 18:25:34 UTC) #14
xhwang
6 years, 7 months ago (2014-04-28 18:30:04 UTC) #15
Message was sent while issue was closed.
On 2014/04/28 18:25:34, Dan Beam wrote:
> but even if you dcommitted it probably should've closed the issue and say
> "committed as rXXX" (like you just added manually).  maybe you accidentally
> typed "git svn dcommit" rather than "git cl dcommit"?

No. I am pretty sure I typed "git cl dcommit --bypass-hooks".

Powered by Google App Engine
This is Rietveld 408576698