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

Issue 2495193004: Refactor VP9 codec string parsing (Closed)

Created:
4 years, 1 month ago by kqyang
Modified:
4 years ago
Reviewers:
fgalligan1, ddorwin
CC:
chromium-reviews, creis+watch_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, tinskip1, fgalligan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor VP9 codec string parsing - Also fixed source_buffer_state failed to find codec with vp9 in mp4 contents when VP9 in MP4 is enabled. - And added a few playback/demuxer tests. BUG=580623 Committed: https://crrev.com/f93bb7be32da55f1ea60694b2ec803f3ac0cdf9f Cr-Commit-Position: refs/heads/master@{#436144}

Patch Set 1 #

Patch Set 2 : Fix build break due to removal of include header #

Patch Set 3 : Fix break in source_buffer_state failed to find codec" #

Patch Set 4 : Add additional tests #

Patch Set 5 : Keep vp9 in mp4 disabled #

Patch Set 6 : Fix test #

Total comments: 24

Patch Set 7 : Address comments #

Patch Set 8 : fix CodecSupportTest_mp4 test #

Total comments: 21

Patch Set 9 : Address comments again #

Total comments: 6

Patch Set 10 : Added a new test in chunk_demuxer_unittest #

Total comments: 14

Patch Set 11 : Address comments #

Total comments: 2

Patch Set 12 : Add a comment to check |level_idc|. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -120 lines) Patch
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 5 6 4 chunks +13 lines, -0 lines 0 comments Download
M content/browser/media/media_browsertest.cc View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -4 lines 0 comments Download
M media/base/mime_util_internal.cc View 1 2 3 4 5 6 7 8 4 chunks +38 lines, -112 lines 0 comments Download
M media/base/video_codecs.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -0 lines 0 comments Download
M media/base/video_codecs.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +90 lines, -3 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +39 lines, -0 lines 0 comments Download
M media/test/data/README View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M media/test/data/bear-320x240-v_frag-vp9-cenc.mp4 View 1 2 3 Binary file 0 comments Download

Messages

Total messages: 77 (54 generated)
kqyang
Please review. Thanks.
4 years, 1 month ago (2016-11-14 21:53:59 UTC) #4
kqyang
I updated this cl to fix code break instead. I have also added a few ...
4 years, 1 month ago (2016-11-22 00:37:43 UTC) #23
ddorwin
Please be more specific about the break. You can probably leave out the switch if ...
4 years, 1 month ago (2016-11-22 01:34:41 UTC) #26
wolenetz
I'm deferring CR to others on the team (ddorwin@). If I'm really needed on this ...
4 years, 1 month ago (2016-11-22 04:07:51 UTC) #27
kqyang
PTAL https://codereview.chromium.org/2495193004/diff/100001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/2495193004/diff/100001/chrome/browser/media/encrypted_media_browsertest.cc#newcode556 chrome/browser/media/encrypted_media_browsertest.cc:556: IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, Playback_Vp9_VideoOnly_MP4) { On 2016/11/22 01:34:42, ddorwin wrote: ...
4 years ago (2016-11-22 23:11:53 UTC) #36
ddorwin
https://codereview.chromium.org/2495193004/diff/140001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/2495193004/diff/140001/media/base/mime_util_internal.cc#newcode39 media/base/mime_util_internal.cc:39: // ParseVp9CodecID(). Update https://codereview.chromium.org/2495193004/diff/140001/media/base/mime_util_internal.cc#newcode596 media/base/mime_util_internal.cc:596: // Parse new style ...
4 years ago (2016-11-23 00:22:18 UTC) #37
kqyang
PTAL https://codereview.chromium.org/2495193004/diff/140001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/2495193004/diff/140001/media/base/mime_util_internal.cc#newcode39 media/base/mime_util_internal.cc:39: // ParseVp9CodecID(). On 2016/11/23 00:22:17, ddorwin wrote: > ...
4 years ago (2016-11-23 01:08:20 UTC) #40
wolenetz
Not a full review, just responding to the comment mentioning me: https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): ...
4 years ago (2016-11-23 22:54:18 UTC) #44
kqyang
On 2016/11/23 22:54:18, wolenetz wrote: > If StreamParserFactory doesn't condition kVideoMP4Codecs on the flag, then ...
4 years ago (2016-11-23 23:34:33 UTC) #45
ddorwin
Two new comments in PS8. I would mention that this refactors the VP9 codec string ...
4 years ago (2016-11-28 22:08:52 UTC) #46
ddorwin
https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc#newcode371 media/base/video_codecs.cc:371: VideoCodec StringToVideoCodec(const std::string& codec_id) { On 2016/11/28 22:08:51, ddorwin ...
4 years ago (2016-11-28 22:24:10 UTC) #47
kqyang
PTAL https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc#newcode164 media/base/video_codecs.cc:164: *level_idc = 1; On 2016/11/28 22:08:51, ddorwin wrote: ...
4 years ago (2016-11-29 22:39:35 UTC) #51
ddorwin
LGTM with comments. Thanks. https://codereview.chromium.org/2495193004/diff/180001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): https://codereview.chromium.org/2495193004/diff/180001/media/base/video_codecs.cc#newcode131 media/base/video_codecs.cc:131: Do we have a separate ...
4 years ago (2016-11-29 23:48:51 UTC) #54
kqyang
PTAL https://codereview.chromium.org/2495193004/diff/180001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): https://codereview.chromium.org/2495193004/diff/180001/media/base/video_codecs.cc#newcode131 media/base/video_codecs.cc:131: On 2016/11/29 23:48:51, ddorwin wrote: > Do we ...
4 years ago (2016-11-30 02:31:17 UTC) #55
wolenetz
On 2016/11/28 22:24:10, ddorwin wrote: > https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc > File media/base/video_codecs.cc (right): > > https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc#newcode371 > ...
4 years ago (2016-12-01 03:07:25 UTC) #60
wolenetz
On 2016/12/01 03:07:25, wolenetz_slow_nov29 wrote: > On 2016/11/28 22:24:10, ddorwin wrote: > > > https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc ...
4 years ago (2016-12-01 03:07:55 UTC) #61
fgalligan1
lgtm https://codereview.chromium.org/2495193004/diff/200001/media/base/mime_util_internal.cc File media/base/mime_util_internal.cc (right): https://codereview.chromium.org/2495193004/diff/200001/media/base/mime_util_internal.cc#newcode154 media/base/mime_util_internal.cc:154: // TODO(kqyang): Should we support new codec string ...
4 years ago (2016-12-01 20:33:12 UTC) #64
ddorwin
LGTM. Two comments in PS10 and a reply to wolenetz@ in PS11. https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc File media/base/video_codecs.cc ...
4 years ago (2016-12-02 18:55:54 UTC) #65
wolenetz
https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): https://codereview.chromium.org/2495193004/diff/140001/media/base/video_codecs.cc#newcode371 media/base/video_codecs.cc:371: VideoCodec StringToVideoCodec(const std::string& codec_id) { On 2016/12/02 18:55:54, ddorwin ...
4 years ago (2016-12-02 19:06:49 UTC) #67
kqyang
https://codereview.chromium.org/2495193004/diff/180001/media/base/video_codecs.cc File media/base/video_codecs.cc (right): https://codereview.chromium.org/2495193004/diff/180001/media/base/video_codecs.cc#newcode131 media/base/video_codecs.cc:131: On 2016/12/02 18:55:54, ddorwin wrote: > On 2016/11/30 02:31:17, ...
4 years ago (2016-12-02 21:15:07 UTC) #69
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/2495193004/220001
4 years ago (2016-12-02 21:16:09 UTC) #72
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years ago (2016-12-03 02:29:15 UTC) #75
commit-bot: I haz the power
4 years ago (2016-12-03 02:32:35 UTC) #77
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/f93bb7be32da55f1ea60694b2ec803f3ac0cdf9f
Cr-Commit-Position: refs/heads/master@{#436144}

Powered by Google App Engine
This is Rietveld 408576698