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

Issue 27120: Added IsEndOfStream and IsDiscontiguous flags to buffers. (Closed)

Created:
11 years, 10 months ago by ralphl
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Added IsEndOfStream and IsDiscontiguous flags to buffers. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10406

Patch Set 1 #

Total comments: 13

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -109 lines) Patch
M media/base/buffers.h View 1 2 3 4 chunks +49 lines, -8 lines 0 comments Download
M media/base/data_buffer.h View 1 3 chunks +1 line, -9 lines 0 comments Download
M media/base/data_buffer.cc View 1 2 chunks +4 lines, -20 lines 0 comments Download
M media/base/data_buffer_unittest.cc View 1 3 chunks +12 lines, -1 line 0 comments Download
M media/base/mock_media_filters.h View 1 2 3 15 chunks +65 lines, -54 lines 0 comments Download
M media/filters/test_video_renderer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/filters/video_renderer_base.cc View 1 1 chunk +11 lines, -17 lines 0 comments Download
M media/filters/video_renderer_unittest.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ralphl
Buffers now have two flags: IsEndOfStream and IsDiscontiguous which the video renderer base class now ...
11 years, 10 months ago (2009-02-25 01:22:56 UTC) #1
scherkus (not reviewing)
You're going to hate me, but after reviewing 3 other sets of media interfaces they ...
11 years, 10 months ago (2009-02-25 01:44:56 UTC) #2
scherkus (not reviewing)
http://codereview.chromium.org/27120/diff/1/2 File media/base/buffers.h (right): http://codereview.chromium.org/27120/diff/1/2#newcode1 Line 1: // Copyright (c) 2006-2009 The Chromium Authors. All ...
11 years, 10 months ago (2009-02-25 19:09:15 UTC) #3
ralphl
Fixed all formatting, etc. Also added locking video frames to the test renderer which uncovered ...
11 years, 10 months ago (2009-02-25 19:53:54 UTC) #4
scherkus (not reviewing)
LGTM some nits but nothing serious http://codereview.chromium.org/27120/diff/1015/28 File media/base/buffers.h (right): http://codereview.chromium.org/27120/diff/1015/28#newcode53 Line 53: // Indicates ...
11 years, 10 months ago (2009-02-25 21:07:31 UTC) #5
ralphl
11 years, 10 months ago (2009-02-25 23:25:55 UTC) #6
Fixed all comments.   Uploaded for one more "try" to make sure nothing's broken
on linux.

http://codereview.chromium.org/27120/diff/1015/28
File media/base/buffers.h (right):

http://codereview.chromium.org/27120/diff/1015/28#newcode53
Line 53: // Indicates that this sample is discontiuous from the previous one,
for
On 2009/02/25 21:07:31, scherkus wrote:
> spelling on discontinuous

Done.

http://codereview.chromium.org/27120/diff/1015/28#newcode74
Line 74: // Sets the value returned by IsDiscontinuous.
On 2009/02/25 21:07:31, scherkus wrote:
> erikkay suggested adding parentheses to functions inside comments -- sort of
> like how |variable| is used, I guess this would IsDiscontinuous()
> 
> I kind of like the idea!

Done.

http://codereview.chromium.org/27120/diff/1015/32
File media/base/mock_media_filters.h (right):

http://codereview.chromium.org/27120/diff/1015/32#newcode348
Line 348: EXPECT_TRUE(false);
On 2009/02/25 21:07:31, scherkus wrote:
> Use ADD_FAILURE instead

Done.

http://codereview.chromium.org/27120/diff/1015/32#newcode352
Line 352: EXPECT_TRUE(false);
On 2009/02/25 21:07:31, scherkus wrote:
> Use ADD_FAILURE instead

Done.

Powered by Google App Engine
This is Rietveld 408576698