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

Issue 11993002: Tighten up media::DecoderBuffer API contract for end of stream buffers. (Closed)

Created:
7 years, 11 months ago by scherkus (not reviewing)
Modified:
7 years, 11 months ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Tighten up media::DecoderBuffer API contract for end of stream buffers. Folks shouldn't be calling methods on end of stream buffers since the definition is undefined. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177550

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -22 lines) Patch
M media/base/data_buffer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/decoder_buffer.h View 1 2 4 chunks +11 lines, -2 lines 0 comments Download
M media/base/decoder_buffer.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download
M media/base/stream_parser_buffer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 3 chunks +17 lines, -15 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scherkus (not reviewing)
7 years, 11 months ago (2013-01-17 23:41:09 UTC) #1
xhwang
lgtm % comment https://codereview.chromium.org/11993002/diff/4001/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): https://codereview.chromium.org/11993002/diff/4001/media/base/decoder_buffer.h#newcode51 media/base/decoder_buffer.h:51: // is disallowed. This means the ...
7 years, 11 months ago (2013-01-17 23:55:13 UTC) #2
scherkus (not reviewing)
want to take a quick look at my comment? open to suggestions on how to ...
7 years, 11 months ago (2013-01-18 00:06:36 UTC) #3
xhwang
7 years, 11 months ago (2013-01-18 00:23:04 UTC) #4
I think the comment is good! When a developer hit the CHECK and comes to see
this class, he/she will understand immediately :)

still lgtm

Powered by Google App Engine
This is Rietveld 408576698