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

Issue 10558011: Fix ChunkDemuxer so it properly outputs buffered ranges. (Closed)

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

Description

Fix ChunkDemuxer so it properly outputs buffered ranges. BUG=133042 TEST=None. Verified manually by a simple test page that appends some data and then checks the buffered attribute. I will convert this to a LayoutTest soon. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143106

Patch Set 1 : . #

Total comments: 19

Patch Set 2 : Changed everything to use media::Ranges. #

Total comments: 22

Patch Set 3 : Address CR comments. #

Total comments: 8

Patch Set 4 : Address more CR comments and added an end of stream test case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -342 lines) Patch
M media/base/ranges.h View 1 2 3 chunks +28 lines, -0 lines 0 comments Download
M media/base/ranges_unittest.cc View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer.h View 1 5 chunks +5 lines, -17 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 18 chunks +75 lines, -97 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 17 chunks +126 lines, -80 lines 0 comments Download
M media/filters/source_buffer_stream.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 6 chunks +10 lines, -19 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 2 3 36 chunks +58 lines, -103 lines 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 chunks +13 lines, -17 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
acolwell GONE FROM CHROMIUM
8 years, 6 months ago (2012-06-15 20:10:07 UTC) #1
acolwell GONE FROM CHROMIUM
On 2012/06/15 20:10:07, acolwell wrote: ping. fischman@
8 years, 6 months ago (2012-06-18 15:38:44 UTC) #2
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10558011/diff/2001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): http://codereview.chromium.org/10558011/diff/2001/media/filters/chunk_demuxer.cc#newcode78 media/filters/chunk_demuxer.cc:78: // The fake total size we use for converting ...
8 years, 6 months ago (2012-06-18 16:18:31 UTC) #3
acolwell GONE FROM CHROMIUM
PTAL. Life is so much nicer w/ media::Ranges and a little cleanup. http://codereview.chromium.org/10558011/diff/2001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc ...
8 years, 6 months ago (2012-06-19 06:12:34 UTC) #4
Ami GONE FROM CHROMIUM
LGTM % nits http://codereview.chromium.org/10558011/diff/21001/media/base/ranges.h File media/base/ranges.h (right): http://codereview.chromium.org/10558011/diff/21001/media/base/ranges.h#newcode126 media/base/ranges.h:126: if (!size() || !other.size()) Unnecessary? http://codereview.chromium.org/10558011/diff/21001/media/base/ranges.h#newcode140 ...
8 years, 6 months ago (2012-06-19 17:40:37 UTC) #5
acolwell GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10558011/diff/21001/media/base/ranges.h File media/base/ranges.h (right): https://chromiumcodereview.appspot.com/10558011/diff/21001/media/base/ranges.h#newcode126 media/base/ranges.h:126: if (!size() || !other.size()) On 2012/06/19 17:40:37, Ami Fischman ...
8 years, 6 months ago (2012-06-19 19:50:15 UTC) #6
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10558011/diff/21001/media/filters/chunk_demuxer_unittest.cc File media/filters/chunk_demuxer_unittest.cc (right): https://chromiumcodereview.appspot.com/10558011/diff/21001/media/filters/chunk_demuxer_unittest.cc#newcode479 media/filters/chunk_demuxer_unittest.cc:479: EXPECT_EQ(expected, ss.str()); On 2012/06/19 19:50:15, acolwell wrote: > On ...
8 years, 6 months ago (2012-06-19 20:23:38 UTC) #7
acolwell GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10558011/diff/21001/media/filters/chunk_demuxer_unittest.cc File media/filters/chunk_demuxer_unittest.cc (right): https://chromiumcodereview.appspot.com/10558011/diff/21001/media/filters/chunk_demuxer_unittest.cc#newcode479 media/filters/chunk_demuxer_unittest.cc:479: EXPECT_EQ(expected, ss.str()); On 2012/06/19 20:23:38, Ami Fischman wrote: > ...
8 years, 6 months ago (2012-06-19 22:39:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/10558011/2005
8 years, 6 months ago (2012-06-19 23:29:45 UTC) #9
commit-bot: I haz the power
8 years, 6 months ago (2012-06-20 00:51:57 UTC) #10
Change committed as 143106

Powered by Google App Engine
This is Rietveld 408576698