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

Issue 178153004: Enable round-tripping and updating of WebSourceBufferImpl timestamp offset (Closed)

Created:
6 years, 10 months ago by wolenetz
Modified:
6 years, 9 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Enable round-tripping and updating of WebSourceBufferImpl timestamp offset This is the first part of a three-sided MediaSource Chromium/Blink+roll Blink/Chromium set of changes to enable JavaScript web apps to continue to round-trip SourceBuffer.timestampOffset set/get if SourceBuffer append operations do not update the timestamp offset, and to retrieve any updated timestamp offset as can occur during upcoming "sequence" append mode compliant coded frame processing. R=acolwell@chromium.org BUG=249422 TEST=All media_unittests and http/tests/media/media-source layout tests pass locally on Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254010

Patch Set 1 #

Patch Set 2 : Fixed some initial nits I noticed #

Patch Set 3 : Initializes |user_specified_timestamp_offset_| to 0.0. #

Total comments: 6

Patch Set 4 : Address PS3 comments #

Total comments: 2

Patch Set 5 : Addresses PS4 nit; pending discussion of "is NaN the best way to signal" on Blink-side CL #

Patch Set 6 : Addresses accidentally-deleted-old-PS6's comments #

Patch Set 7 : Allow NULL for WSBI::append()'s |new_timestamp_offset| parameter #

Total comments: 4

Patch Set 8 : Rebase and rework to plumb double* timestamp_offset param into SourceState. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -24 lines) Patch
M content/renderer/media/websourcebuffer_impl.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/media/websourcebuffer_impl.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 4 5 6 7 9 chunks +27 lines, -13 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 4 5 6 7 6 chunks +9 lines, -7 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
wolenetz
PTAL. Thanks!
6 years, 10 months ago (2014-02-25 02:27:48 UTC) #1
wolenetz
On 2014/02/25 02:27:48, wolenetz wrote: > PTAL. Thanks! Hold on. Please don't review PS2. Blink-side ...
6 years, 10 months ago (2014-02-25 03:25:42 UTC) #2
wolenetz
PTAL @ PS3. Thank you.
6 years, 10 months ago (2014-02-25 03:44:47 UTC) #3
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/178153004/diff/60001/content/renderer/media/websourcebuffer_impl.h File content/renderer/media/websourcebuffer_impl.h (right): https://codereview.chromium.org/178153004/diff/60001/content/renderer/media/websourcebuffer_impl.h#newcode32 content/renderer/media/websourcebuffer_impl.h:32: virtual double getTimestampOffset(); nit: s/getT/t/ https://codereview.chromium.org/178153004/diff/60001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): ...
6 years, 10 months ago (2014-02-25 17:24:27 UTC) #4
wolenetz
PTAL @ PS4. Thank you. https://codereview.chromium.org/178153004/diff/60001/content/renderer/media/websourcebuffer_impl.h File content/renderer/media/websourcebuffer_impl.h (right): https://codereview.chromium.org/178153004/diff/60001/content/renderer/media/websourcebuffer_impl.h#newcode32 content/renderer/media/websourcebuffer_impl.h:32: virtual double getTimestampOffset(); On ...
6 years, 10 months ago (2014-02-25 20:32:20 UTC) #5
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/178153004/diff/80001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://codereview.chromium.org/178153004/diff/80001/media/filters/chunk_demuxer.cc#newcode128 media/filters/chunk_demuxer.cc:128: // If |using_user_specified_timestamp_offset_| is true, meaning ...
6 years, 10 months ago (2014-02-25 21:50:41 UTC) #6
wolenetz
Thanks. Currently holding off on sending to CQ until the "is NaN the best way ...
6 years, 10 months ago (2014-02-25 22:56:29 UTC) #7
wolenetz
PTAL @ PS6. I've reworked it to follow the suggestion made on the blink side ...
6 years, 10 months ago (2014-02-26 23:04:22 UTC) #8
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/178153004/diff/130001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://codereview.chromium.org/178153004/diff/130001/media/filters/chunk_demuxer.cc#newcode117 media/filters/chunk_demuxer.cc:117: TimeDelta* new_timestamp_offset); nit: Any reason not to use kNoTimestamp() ...
6 years, 10 months ago (2014-02-26 23:43:50 UTC) #9
wolenetz
On 2014/02/26 23:43:50, acolwell wrote: > https://codereview.chromium.org/178153004/diff/130001/media/filters/chunk_demuxer.cc > File media/filters/chunk_demuxer.cc (right): > > https://codereview.chromium.org/178153004/diff/130001/media/filters/chunk_demuxer.cc#newcode117 > ...
6 years, 10 months ago (2014-02-27 00:54:42 UTC) #10
wolenetz
On 2014/02/27 00:54:42, wolenetz wrote: > On 2014/02/26 23:43:50, acolwell wrote: > > > https://codereview.chromium.org/178153004/diff/130001/media/filters/chunk_demuxer.cc ...
6 years, 10 months ago (2014-02-27 01:05:34 UTC) #11
wolenetz
New PS6 posted. PTAL. Note, the Blink-side interface change for WSB::append() is still in discussion, ...
6 years, 10 months ago (2014-02-27 02:15:41 UTC) #12
wolenetz
Please take a look @ patch set 7: it is aligned with the current Blink-side ...
6 years, 10 months ago (2014-02-27 03:32:31 UTC) #13
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/178153004/diff/170001/content/renderer/media/websourcebuffer_impl.cc File content/renderer/media/websourcebuffer_impl.cc (right): https://codereview.chromium.org/178153004/diff/170001/content/renderer/media/websourcebuffer_impl.cc#newcode73 content/renderer/media/websourcebuffer_impl.cc:73: demuxer_->AppendData(id_, data, length, &new_offset_if_updated); Sorry to keep causing thrashing ...
6 years, 9 months ago (2014-02-27 18:27:21 UTC) #14
wolenetz
PTAL @ patch set 8. I've also reworked the Blink-side change (https://codereview.chromium.org/178763006/) to depend on ...
6 years, 9 months ago (2014-02-27 21:48:48 UTC) #15
acolwell GONE FROM CHROMIUM
lgtm
6 years, 9 months ago (2014-02-27 22:22:22 UTC) #16
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 9 months ago (2014-02-27 22:32:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/178153004/210001
6 years, 9 months ago (2014-02-27 22:33:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/178153004/210001
6 years, 9 months ago (2014-02-28 01:06:58 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 01:54:10 UTC) #20
Message was sent while issue was closed.
Change committed as 254010

Powered by Google App Engine
This is Rietveld 408576698