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

Issue 10952034: Remove lingering frames of old data when appending a new segment (Closed)

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

Description

Remove lingering frames of old data when appending a new segment This CL adds a check in SourceBufferStream to delete old frames whose timestamps are in between the timestamps of the new frames overlapping it. BUG=146791 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157688

Patch Set 1 #

Patch Set 2 : Reset last buffer timestamp only if appended media segments are not adjacent #

Total comments: 2

Patch Set 3 : fix lingering frames bug #

Total comments: 14

Patch Set 4 : response to CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -71 lines) Patch
M media/filters/source_buffer_stream.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 2 3 13 chunks +110 lines, -70 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 2 3 6 chunks +158 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
vrk (LEFT CHROMIUM)
Reworked into 3 diffs as discussed!
8 years, 3 months ago (2012-09-19 21:05:55 UTC) #1
acolwell GONE FROM CHROMIUM
LGTM % minor nits https://codereview.chromium.org/10952034/diff/1001/media/filters/source_buffer_stream.cc File media/filters/source_buffer_stream.cc (right): https://codereview.chromium.org/10952034/diff/1001/media/filters/source_buffer_stream.cc#newcode335 media/filters/source_buffer_stream.cc:335: !(*range_for_next_append_)->AreAdjacentInSequence( This is a little ...
8 years, 3 months ago (2012-09-19 23:15:51 UTC) #2
vrk (LEFT CHROMIUM)
Thanks for reviewing, Aaron! https://codereview.chromium.org/10952034/diff/1001/media/filters/source_buffer_stream.cc File media/filters/source_buffer_stream.cc (right): https://codereview.chromium.org/10952034/diff/1001/media/filters/source_buffer_stream.cc#newcode335 media/filters/source_buffer_stream.cc:335: !(*range_for_next_append_)->AreAdjacentInSequence( On 2012/09/19 23:15:51, acolwell ...
8 years, 3 months ago (2012-09-20 00:00:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/10952034/15001
8 years, 3 months ago (2012-09-20 00:05:12 UTC) #4
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 02:27:36 UTC) #5
Change committed as 157688

Powered by Google App Engine
This is Rietveld 408576698