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

Issue 1491513002: [MSE] Fix GC with media_time past the last appended buffer timestamp (Closed)

Created:
5 years ago by servolk
Modified:
5 years ago
Reviewers:
wolenetz
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MSE] Fix GC with media_time past the last appended buffer timestamp Previously MSE GC algorithm didn't take into account properly the duration of the last appended buffer. As a result GC would fail when the media_time was beyond the timestamp of the last appended buffer. This CL fixes that and adds a new unit test case to cover this situation. BUG=563292 Committed: https://crrev.com/3ec8ac57b3788dd43da901a05ec99a4364e088bf Cr-Commit-Position: refs/heads/master@{#363002}

Patch Set 1 #

Total comments: 6

Patch Set 2 : cr feedback #

Total comments: 1

Patch Set 3 : Implement media_time clamping to buffered ranges #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -5 lines) Patch
M media/filters/source_buffer_stream.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/source_buffer_stream.cc View 1 2 9 chunks +31 lines, -4 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 1 2 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
wolenetz
Just nits so far. I assume the clamping logic will become part of this CL ...
5 years ago (2015-12-01 01:12:43 UTC) #2
servolk
https://codereview.chromium.org/1491513002/diff/1/media/filters/source_buffer_stream.cc File media/filters/source_buffer_stream.cc (right): https://codereview.chromium.org/1491513002/diff/1/media/filters/source_buffer_stream.cc#newcode143 media/filters/source_buffer_stream.cc:143: last_appended_buffer_duration_(kNoTimestamp()), On 2015/12/01 01:12:43, wolenetz wrote: > nit: some ...
5 years ago (2015-12-01 18:51:49 UTC) #4
wolenetz
Per chat w/servolk@, I'll take over the work on this fix soon today.
5 years ago (2015-12-01 21:07:01 UTC) #5
servolk
On 2015/12/01 21:07:01, wolenetz wrote: > Per chat w/servolk@, I'll take over the work on ...
5 years ago (2015-12-02 03:29:26 UTC) #6
wolenetz
To reduce latency of potentially merging the fix for the bug to release branches, I ...
5 years ago (2015-12-02 23:32:50 UTC) #7
wolenetz
On 2015/12/02 23:32:50, wolenetz wrote: > To reduce latency of potentially merging the fix for ...
5 years ago (2015-12-02 23:33:44 UTC) #8
servolk
On 2015/12/02 23:33:44, wolenetz wrote: > On 2015/12/02 23:32:50, wolenetz wrote: > > To reduce ...
5 years ago (2015-12-03 02:26:25 UTC) #10
wolenetz
LGTM! Ship it :) Thank you for following this through to a fix that looks ...
5 years ago (2015-12-03 17:25:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1491513002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1491513002/40001
5 years ago (2015-12-03 17:28:33 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-03 17:35:30 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3ec8ac57b3788dd43da901a05ec99a4364e088bf Cr-Commit-Position: refs/heads/master@{#363002}
5 years ago (2015-12-03 17:36:06 UTC) #17
servolk
5 years ago (2015-12-03 18:59:37 UTC) #18
Message was sent while issue was closed.
On 2015/12/03 17:25:34, wolenetz wrote:
> LGTM! Ship it :)
> 
> Thank you for following this through to a fix that looks to me like it will be
> more easily merge-able back to release branches, once baked.

Yep, we'll probably need to cherry-pick this into release branches after this
bakes for some time in Canary builds. Thanks!

Powered by Google App Engine
This is Rietveld 408576698