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

Issue 239343007: MSE: Make WebMClusterParser hold back buffers at or beyond buffer missing duration (Closed)

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

Description

MSE: Make WebMClusterParser hold back buffers at or beyond buffer missing duration If a buffer is missing duration and is being held back, then the cluster parser now holds back all other tracks' buffers that have same or higher (decode) timestamp. This keeps the timestamps emitted for a cluster monotonically non-decreasing and in same order as parsed, even across tracks within the cluster. Adds a related new WebMClusterParserTest, updates related ChunkDemuxerTests and removes an obsolete TODO now that bug 361786 is fixed by r265340. R=acolwell@chromium.org BUG=363421 TEST=All media_unittests and MSE http layout tests pass locally on Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266538

Patch Set 1 #

Patch Set 2 : Implement "ready buffer" extraction #

Patch Set 3 : Fix some errors in comments. #

Total comments: 26

Patch Set 4 : Address nits and comments from patch set 3 #

Patch Set 5 : Always reconstruct text_buffers_map_ from a cleared one in every GetTextBuffers() call. #

Total comments: 2

Patch Set 6 : Fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -64 lines) Patch
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 2 chunks +3 lines, -17 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.h View 1 2 3 4 5 7 chunks +82 lines, -18 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.cc View 1 2 3 4 7 chunks +125 lines, -28 lines 0 comments Download
M media/formats/webm/webm_cluster_parser_unittest.cc View 1 2 3 3 chunks +103 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
wolenetz
Patch set 1 is not ready for review yet, but I'm posting it as FYI/WIP. ...
6 years, 8 months ago (2014-04-15 23:34:42 UTC) #1
wolenetz
PTAL @ patch set 3. Note that I've also tried patch set 4 of Dale's ...
6 years, 8 months ago (2014-04-23 20:47:25 UTC) #2
acolwell GONE FROM CHROMIUM
looks pretty good. Just a few minor nits. https://codereview.chromium.org/239343007/diff/40001/media/filters/chunk_demuxer_unittest.cc File media/filters/chunk_demuxer_unittest.cc (right): https://codereview.chromium.org/239343007/diff/40001/media/filters/chunk_demuxer_unittest.cc#newcode1245 media/filters/chunk_demuxer_unittest.cc:1245: // ...
6 years, 8 months ago (2014-04-23 22:36:39 UTC) #3
wolenetz
Thanks for comments. PTAL @ patch set 5. https://codereview.chromium.org/239343007/diff/40001/media/filters/chunk_demuxer_unittest.cc File media/filters/chunk_demuxer_unittest.cc (right): https://codereview.chromium.org/239343007/diff/40001/media/filters/chunk_demuxer_unittest.cc#newcode1245 media/filters/chunk_demuxer_unittest.cc:1245: // ...
6 years, 8 months ago (2014-04-25 20:04:21 UTC) #4
acolwell GONE FROM CHROMIUM
lgtm https://codereview.chromium.org/239343007/diff/70001/media/formats/webm/webm_cluster_parser.h File media/formats/webm/webm_cluster_parser.h (right): https://codereview.chromium.org/239343007/diff/70001/media/formats/webm/webm_cluster_parser.h#newcode59 media/formats/webm/webm_cluster_parser.h:59: // Gets |ready_buffers_|. nit: Remove. You can see ...
6 years, 8 months ago (2014-04-26 00:29:35 UTC) #5
wolenetz
Thank you. https://codereview.chromium.org/239343007/diff/70001/media/formats/webm/webm_cluster_parser.h File media/formats/webm/webm_cluster_parser.h (right): https://codereview.chromium.org/239343007/diff/70001/media/formats/webm/webm_cluster_parser.h#newcode59 media/formats/webm/webm_cluster_parser.h:59: // Gets |ready_buffers_|. On 2014/04/26 00:29:35, acolwell ...
6 years, 8 months ago (2014-04-26 00:37:38 UTC) #6
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 8 months ago (2014-04-26 00:37:42 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/239343007/90001
6 years, 8 months ago (2014-04-26 00:41:16 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 13:31:20 UTC) #9
Message was sent while issue was closed.
Change committed as 266538

Powered by Google App Engine
This is Rietveld 408576698