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

Issue 1736012: Merging SeekableBuffer and BufferQueue (Closed)

Created:
10 years, 8 months ago by Sergey Ulanov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, scherkus (not reviewing), fbarchard, awong, Alpha Left Google, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

Merging SeekableBuffer and BufferQueue: 1. Removed SeekableBuffer::Buffer. 2. Extended SeekableBuffer to support all the features of BufferQueue. 3. BufferQueue removed and replaced with SeekableBuffer. BUG=28654 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45669

Patch Set 1 : - #

Total comments: 16

Patch Set 2 : nits #

Total comments: 28

Patch Set 3 : more nits #

Patch Set 4 : + 1 TODO #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -462 lines) Patch
D media/base/buffer_queue.h View 1 chunk +0 lines, -70 lines 0 comments Download
D media/base/buffer_queue.cc View 1 chunk +0 lines, -121 lines 0 comments Download
D media/base/buffer_queue_unittest.cc View 1 chunk +0 lines, -181 lines 0 comments Download
M media/base/seekable_buffer.h View 1 2 3 7 chunks +41 lines, -21 lines 1 comment Download
M media/base/seekable_buffer.cc View 1 2 8 chunks +91 lines, -35 lines 0 comments Download
M media/base/seekable_buffer_unittest.cc View 1 2 15 chunks +93 lines, -19 lines 0 comments Download
M media/filters/audio_renderer_algorithm_base.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_algorithm_base.cc View 1 2 3 chunks +9 lines, -8 lines 0 comments Download
M media/media.gyp View 2 chunks +0 lines, -3 lines 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
10 years, 8 months ago (2010-04-23 20:45:24 UTC) #1
Alpha Left Google
http://codereview.chromium.org/1736012/diff/18001/19004 File media/base/seekable_buffer.cc (right): http://codereview.chromium.org/1736012/diff/18001/19004#newcode242 media/base/seekable_buffer.cc:242: offset) / (*buffer)->GetDataSize(); nit: indentation http://codereview.chromium.org/1736012/diff/18001/19005 File media/base/seekable_buffer.h (right): ...
10 years, 8 months ago (2010-04-26 22:33:41 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/1736012/diff/18001/19004 File media/base/seekable_buffer.cc (right): http://codereview.chromium.org/1736012/diff/18001/19004#newcode242 media/base/seekable_buffer.cc:242: offset) / (*buffer)->GetDataSize(); On 2010/04/26 22:33:42, Alpha wrote: > ...
10 years, 8 months ago (2010-04-26 23:03:29 UTC) #3
Alpha Left Google
LGTM
10 years, 8 months ago (2010-04-26 23:09:36 UTC) #4
scherkus (not reviewing)
http://codereview.chromium.org/1736012/diff/5003/4008 File media/base/seekable_buffer.cc (right): http://codereview.chromium.org/1736012/diff/5003/4008#newcode1 media/base/seekable_buffer.cc:1: // Copyright (c) 2009 The Chromium Authors. All rights ...
10 years, 8 months ago (2010-04-26 23:54:51 UTC) #5
scherkus (not reviewing)
if the StreamSample::kInvalidTimestamp change becomes too involved, feel free to write down a TODO (I ...
10 years, 8 months ago (2010-04-26 23:56:29 UTC) #6
Sergey Ulanov
Thanks! http://codereview.chromium.org/1736012/diff/5003/4008 File media/base/seekable_buffer.cc (right): http://codereview.chromium.org/1736012/diff/5003/4008#newcode1 media/base/seekable_buffer.cc:1: // Copyright (c) 2009 The Chromium Authors. All ...
10 years, 8 months ago (2010-04-27 00:38:47 UTC) #7
Sergey Ulanov
On 2010/04/26 23:56:29, scherkus wrote: > if the StreamSample::kInvalidTimestamp change becomes too involved, feel free ...
10 years, 8 months ago (2010-04-27 00:41:20 UTC) #8
scherkus (not reviewing)
10 years, 8 months ago (2010-04-27 02:19:26 UTC) #9
LGTM w/ one tiny comment nit

feel free to check in

http://codereview.chromium.org/1736012/diff/33001/3014
File media/base/seekable_buffer.h (right):

http://codereview.chromium.org/1736012/diff/33001/3014#newcode69
media/base/seekable_buffer.h:69: // added to the buffer in any case.
nit: added -> is added

Powered by Google App Engine
This is Rietveld 408576698