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

Issue 238273002: Adds WebMClusterParserTest coverage for duration default/estimation/fallback logic (Closed)

Created:
6 years, 8 months ago by wolenetz
Modified:
6 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Add WebMClusterParserTest coverage for duration default/estimation/fallback logic WebMClusterParser recently began supporting using TrackEntry DefaultDurations, estimating missing durations from inter-buffer timestamp deltas in a track, or falling back to reusing largest duration so far or a hardcoded frame duration. This change adds missing test coverage. The test cluster builder is augmented to allow generation of clusters containing BlockGroups with blocks optionally missing the BlockDuration field, to support some of these new tests. R=acolwell@chromium.org BUG=361786, 351166 TEST=All media_unittests pass locally on Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265340

Patch Set 1 #

Patch Set 2 : Fix lint errors #

Total comments: 6

Patch Set 3 : Fixed nits & rebased onto https://codereview.chromium.org/220103002/ PS5 #

Patch Set 4 : Rebased on ToT now that 220103002 PS7 landed #

Patch Set 5 : cast to int to compare enum values in COMPILE_ASSERTs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -24 lines) Patch
M media/formats/webm/cluster_builder.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/formats/webm/cluster_builder.cc View 1 2 4 chunks +45 lines, -5 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.h View 1 chunk +9 lines, -0 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M media/formats/webm/webm_cluster_parser_unittest.cc View 1 2 3 4 14 chunks +312 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
wolenetz
PTAL at patch set 2.
6 years, 8 months ago (2014-04-15 00:05:17 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm % nits https://codereview.chromium.org/238273002/diff/20001/media/formats/webm/cluster_builder.cc File media/formats/webm/cluster_builder.cc (right): https://codereview.chromium.org/238273002/diff/20001/media/formats/webm/cluster_builder.cc#newcode136 media/formats/webm/cluster_builder.cc:136: kBlockGroupWithoutBlockDurationBlockSizeOffset, nit: This indent looks wrong. ...
6 years, 8 months ago (2014-04-15 00:32:24 UTC) #2
wolenetz
On 2014/04/15 00:05:17, wolenetz wrote: > PTAL at patch set 2. Also, note that https://codereview.chromium.org/220103002/ ...
6 years, 8 months ago (2014-04-15 00:36:04 UTC) #3
wolenetz
Regarding: > https://codereview.chromium.org/238273002/diff/20001/media/formats/webm/webm_cluster_parser_unittest.cc#newcode23 > media/formats/webm/webm_cluster_parser_unittest.cc:23: typedef > WebMTracksParser::TextTracks TextTracks; > nit: How about "using" instead ...
6 years, 8 months ago (2014-04-15 01:25:40 UTC) #4
acolwell GONE FROM CHROMIUM
On 2014/04/15 01:25:40, wolenetz wrote: > Regarding: > > > https://codereview.chromium.org/238273002/diff/20001/media/formats/webm/webm_cluster_parser_unittest.cc#newcode23 > > media/formats/webm/webm_cluster_parser_unittest.cc:23: typedef ...
6 years, 8 months ago (2014-04-15 01:28:55 UTC) #5
wolenetz
Thank you. Patch set 3 is now pending Dale first landing his https://codereview.chromium.org/220103002/. https://codereview.chromium.org/238273002/diff/20001/media/formats/webm/cluster_builder.cc File ...
6 years, 8 months ago (2014-04-15 01:49:12 UTC) #6
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 8 months ago (2014-04-18 17:46:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/238273002/60001
6 years, 8 months ago (2014-04-18 17:46:52 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 19:10:26 UTC) #9
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=173035
6 years, 8 months ago (2014-04-18 19:10:27 UTC) #10
wolenetz
PTAL @ Patch set 5. I'm dubious about the line wrap formatting for the updated ...
6 years, 8 months ago (2014-04-18 19:57:10 UTC) #11
acolwell GONE FROM CHROMIUM
lgtm 2
6 years, 8 months ago (2014-04-21 16:42:11 UTC) #12
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 8 months ago (2014-04-22 17:40:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/238273002/80001
6 years, 8 months ago (2014-04-22 17:41:15 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 20:06:43 UTC) #15
Message was sent while issue was closed.
Change committed as 265340

Powered by Google App Engine
This is Rietveld 408576698