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

Issue 10389185: Implement start, end, and middle overlaps for SourceBufferStream (Closed)

Created:
8 years, 7 months ago by vrk (LEFT CHROMIUM)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Implement start, end, and middle overlaps for SourceBufferStream Handles cases where the selected range is overlapped. Does not handle buffer sizes of differing durations. BUG=126560, 125072 TEST=media_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140797

Patch Set 1 #

Patch Set 2 : rebase ToT #

Total comments: 34

Patch Set 3 : Response to CR #

Total comments: 2

Patch Set 4 : Add comments #

Patch Set 5 : Rebase ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+971 lines, -315 lines) Patch
M media/filters/source_buffer_stream.h View 1 2 3 4 3 chunks +29 lines, -19 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 2 3 4 18 chunks +367 lines, -198 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 2 25 chunks +575 lines, -98 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
vrk (LEFT CHROMIUM)
8 years, 7 months ago (2012-05-17 00:10:44 UTC) #1
acolwell GONE FROM CHROMIUM
Whew...done. This is quite a CL. Your unit tests are wonderful. They are really good ...
8 years, 7 months ago (2012-05-22 19:35:22 UTC) #2
vrk (LEFT CHROMIUM)
Thanks for getting through all that, Aaron! :) https://chromiumcodereview.appspot.com/10389185/diff/2001/media/filters/source_buffer_stream.cc File media/filters/source_buffer_stream.cc (right): https://chromiumcodereview.appspot.com/10389185/diff/2001/media/filters/source_buffer_stream.cc#newcode23 media/filters/source_buffer_stream.cc:23: SourceBufferRange(const ...
8 years, 7 months ago (2012-05-24 20:06:30 UTC) #3
vrk (LEFT CHROMIUM)
BTW, I just created crbug.com/129623 documenting my discontent with the code in this CL along ...
8 years, 7 months ago (2012-05-24 21:09:32 UTC) #4
acolwell GONE FROM CHROMIUM
LGTM. Coordinate with annacc@ on when to checkin so merge pain can be minimized. :) ...
8 years, 7 months ago (2012-05-24 22:20:59 UTC) #5
vrk (LEFT CHROMIUM)
8 years, 7 months ago (2012-05-25 15:48:08 UTC) #6
Thanks Aaron!!

annacc: I'll wait to land this until after you land your CL!

https://chromiumcodereview.appspot.com/10389185/diff/9001/media/filters/sourc...
File media/filters/source_buffer_stream.cc (right):

https://chromiumcodereview.appspot.com/10389185/diff/9001/media/filters/sourc...
media/filters/source_buffer_stream.cc:211: if (range_value < 0)
On 2012/05/24 22:21:00, acolwell wrote:
> nit: Keep the "|start_timestamp| is before the current range in this loop."
just
> to remind people what this means?

Done.

Powered by Google App Engine
This is Rietveld 408576698