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

Issue 178763006: Enable round-tripping and updating of SourceBuffer timestamp offset (Closed)

Created:
6 years, 10 months ago by wolenetz
Modified:
6 years, 9 months ago
CC:
blink-reviews, philipj_slow, eric.carlson_apple.com, abarth-chromium, feature-media-reviews_chromium.org, dglazkov+blink
Visibility:
Public.

Description

Enable round-tripping and updating of SourceBuffer timestamp offset This is the second 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,jamesr@chromium.org BUG=249422 TEST=No local linux regressions of http/tests/media/media-source/ layout tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168163

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addresses PS1 comments #

Total comments: 2

Patch Set 3 : Address acolwell@'s PS2 nits so this can be committed independently of Chromium CL #

Total comments: 1

Patch Set 4 : Rebase and rework so WSB::append() indicates updated timestamp offset #

Total comments: 4

Patch Set 5 : Addresses PS4 nit #

Total comments: 6

Patch Set 6 : Fix new offset initialization and allow null pointer simplification for prefixed new append #

Patch Set 7 : Rework to depend on Chromium side landing first and pass double* timestampOffset (no bool) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -8 lines) Patch
M LayoutTests/http/tests/media/media-source/mediasource-sourcebuffer-mode.html View 3 chunks +4 lines, -3 lines 0 comments Download
M LayoutTests/http/tests/media/media-source/webkitmediasource-objects.html View 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M Source/modules/mediasource/WebKitSourceBuffer.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M public/platform/WebSourceBuffer.h View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
wolenetz
Please take a look: jamesr: public/ OWNERS review, acolwell: everything. Note, the prerequisite Chromium-side CL ...
6 years, 10 months ago (2014-02-25 03:57:26 UTC) #1
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/178763006/diff/1/Source/modules/mediasource/SourceBuffer.cpp File Source/modules/mediasource/SourceBuffer.cpp (right): https://codereview.chromium.org/178763006/diff/1/Source/modules/mediasource/SourceBuffer.cpp#newcode543 Source/modules/mediasource/SourceBuffer.cpp:543: m_timestampOffset = m_webSourceBuffer->getTimestampOffset(); See my comments in the Chromium-side ...
6 years, 10 months ago (2014-02-25 17:50:56 UTC) #2
wolenetz
Thank you for PS1 comments, acolwell@. Same reviewers: please take a look at PS2. The ...
6 years, 10 months ago (2014-02-25 20:33:32 UTC) #3
wolenetz
On 2014/02/25 20:33:32, wolenetz wrote: > Thank you for PS1 comments, acolwell@. > > Same ...
6 years, 10 months ago (2014-02-25 20:34:01 UTC) #4
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/178763006/diff/20001/public/platform/WebSourceBuffer.h File public/platform/WebSourceBuffer.h (right): https://codereview.chromium.org/178763006/diff/20001/public/platform/WebSourceBuffer.h#newcode58 public/platform/WebSourceBuffer.h:58: virtual double updatedTimestampOffset() = 0; nit: ...
6 years, 10 months ago (2014-02-25 21:53:53 UTC) #5
wolenetz
Thanks, acolwell@. jamesr@: PTAL @ PS3 for public/ OWNERS review. https://codereview.chromium.org/178763006/diff/20001/public/platform/WebSourceBuffer.h File public/platform/WebSourceBuffer.h (right): https://codereview.chromium.org/178763006/diff/20001/public/platform/WebSourceBuffer.h#newcode58 ...
6 years, 10 months ago (2014-02-25 22:34:35 UTC) #6
wolenetz
I have a style question: https://codereview.chromium.org/178763006/diff/40001/public/platform/WebSourceBuffer.h File public/platform/WebSourceBuffer.h (right): https://codereview.chromium.org/178763006/diff/40001/public/platform/WebSourceBuffer.h#newcode36 public/platform/WebSourceBuffer.h:36: #include <limits> There's a ...
6 years, 10 months ago (2014-02-25 22:49:34 UTC) #7
jamesr
Using NaN as a signalling value is really weird. I don't think we do this ...
6 years, 10 months ago (2014-02-25 22:52:01 UTC) #8
acolwell GONE FROM CHROMIUM
On 2014/02/25 22:52:01, jamesr wrote: > Using NaN as a signalling value is really weird. ...
6 years, 10 months ago (2014-02-25 23:24:31 UTC) #9
jamesr
> How about this? We change the append() signature to the following > bool append(const ...
6 years, 10 months ago (2014-02-25 23:27:39 UTC) #10
wolenetz
Same reviewers, PTAL @ patch set 4. Thanks!
6 years, 10 months ago (2014-02-27 01:03:02 UTC) #11
jamesr
https://codereview.chromium.org/178763006/diff/80001/public/platform/WebSourceBuffer.h File public/platform/WebSourceBuffer.h (right): https://codereview.chromium.org/178763006/diff/80001/public/platform/WebSourceBuffer.h#newcode54 public/platform/WebSourceBuffer.h:54: // the Chromium implementation of this signature has landed. ...
6 years, 10 months ago (2014-02-27 01:18:27 UTC) #12
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/178763006/diff/80001/Source/modules/mediasource/WebKitSourceBuffer.cpp File Source/modules/mediasource/WebKitSourceBuffer.cpp (right): https://codereview.chromium.org/178763006/diff/80001/Source/modules/mediasource/WebKitSourceBuffer.cpp#newcode140 Source/modules/mediasource/WebKitSourceBuffer.cpp:140: // Only "sequence" mode coded frame ...
6 years, 10 months ago (2014-02-27 01:24:45 UTC) #13
wolenetz
Thanks acolwell@. jamesr@ PTAL @ PS5. Thanks! https://codereview.chromium.org/178763006/diff/80001/Source/modules/mediasource/WebKitSourceBuffer.cpp File Source/modules/mediasource/WebKitSourceBuffer.cpp (right): https://codereview.chromium.org/178763006/diff/80001/Source/modules/mediasource/WebKitSourceBuffer.cpp#newcode140 Source/modules/mediasource/WebKitSourceBuffer.cpp:140: // Only ...
6 years, 10 months ago (2014-02-27 01:44:55 UTC) #14
jamesr
The bool seems unnecessary. If the append() operation does not need to update the timestamp ...
6 years, 10 months ago (2014-02-27 01:49:55 UTC) #15
acolwell GONE FROM CHROMIUM
On 2014/02/27 01:49:55, jamesr wrote: > The bool seems unnecessary. If the append() operation does ...
6 years, 10 months ago (2014-02-27 02:46:56 UTC) #16
wolenetz
Thank you, jamesr@. Please take a look at patch set 6. I've retained the bool ...
6 years, 10 months ago (2014-02-27 03:29:58 UTC) #17
acolwell GONE FROM CHROMIUM
On 2014/02/27 03:29:58, wolenetz wrote: > Thank you, jamesr@. Please take a look at patch ...
6 years, 9 months ago (2014-02-27 18:18:57 UTC) #18
wolenetz
Same reviewers, please take a look at patch set 7. I've reworked this per comment ...
6 years, 9 months ago (2014-02-27 21:52:22 UTC) #19
jamesr
lgtm
6 years, 9 months ago (2014-02-27 23:46:46 UTC) #20
wolenetz
On 2014/02/27 23:46:46, jamesr wrote: > lgtm Thank you. acolwell@: Do you want to re-review ...
6 years, 9 months ago (2014-02-28 00:57:52 UTC) #21
wolenetz
On 2014/02/28 00:57:52, wolenetz wrote: > On 2014/02/27 23:46:46, jamesr wrote: > > lgtm > ...
6 years, 9 months ago (2014-02-28 18:59:00 UTC) #22
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 9 months ago (2014-02-28 18:59:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/178763006/130001
6 years, 9 months ago (2014-02-28 18:59:59 UTC) #24
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 20:18:27 UTC) #25
Message was sent while issue was closed.
Change committed as 168163

Powered by Google App Engine
This is Rietveld 408576698