Attention is currently required from: Thomas Guilbert, Chrome Cunningham.
Eugene Zemtsov would like Thomas Guilbert and Chrome Cunningham to review this change.
webcodecs: Make AudioEncoder emit decoder config with extra_data
Bug: 1177021
Change-Id: I6d6fe69433b954b65cfec3fd6bc6dc78564ee168
---
M third_party/blink/renderer/modules/webcodecs/audio_encoder.cc
M third_party/blink/renderer/modules/webcodecs/audio_encoder.h
M third_party/blink/renderer/modules/webcodecs/encoded_audio_chunk_output_callback.idl
M third_party/blink/web_tests/external/wpt/webcodecs/audio-encoder.any.js
4 files changed, 84 insertions(+), 10 deletions(-)
To view, visit change 2691321. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Thomas Guilbert, Chrome Cunningham.
Attention is currently required from: Eugene Zemtsov, Thomas Guilbert, Chrome Cunningham.
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/27600.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md#Automatic-export-process
Attention is currently required from: Eugene Zemtsov, Chrome Cunningham.
Patch set 2:Code-Review +1
2 comments:
Patchset:
LGTM % 1 minor comment.
File third_party/blink/web_tests/external/wpt/webcodecs/audio-encoder.any.js:
if (decoder_config)
assert_equals(config, null);
Can you make it more obvious that this is guaranteed to be hit during the test? E.g. Add a comment on L#215 calling out that this assert and |output_count| > 1 guarantees that configs are only emitted once.
To view, visit change 2691321. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Chrome Cunningham.
1 comment:
File third_party/blink/web_tests/external/wpt/webcodecs/audio-encoder.any.js:
if (decoder_config)
assert_equals(config, null);
Can you make it more obvious that this is guaranteed to be hit during the test? E.g. […]
Done
To view, visit change 2691321. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Chrome Cunningham.
Patch set 4:Commit-Queue +2
Attention is currently required from: Chrome Cunningham.
CQ is trying the patch.
Note: The patchset #4 "optional decoder_config" sent to CQ was uploaded after this CL was CR+1-ed.
Reviewer, please verify there is nothing unexpected https://chromium-review.googlesource.com/c/2691321/4
Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/2691321/4
Bot data: {"action": "start", "triggered_at": "2021-02-13T00:17:26.0Z", "revision": "2e79f0aa2bece66aae47f708f592e4d3b3de1a53"}
Chromium LUCI CQ submitted this change.
webcodecs: Make AudioEncoder emit decoder config with extra_data
Bug: 1177021
Change-Id: I6d6fe69433b954b65cfec3fd6bc6dc78564ee168
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2691321
Commit-Queue: Eugene Zemtsov <eug...@chromium.org>
Reviewed-by: Thomas Guilbert <tgui...@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853747}
---
M third_party/blink/renderer/modules/webcodecs/audio_encoder.cc
M third_party/blink/renderer/modules/webcodecs/audio_encoder.h
M third_party/blink/renderer/modules/webcodecs/encoded_audio_chunk_output_callback.idl
M third_party/blink/web_tests/external/wpt/webcodecs/audio-encoder.any.js
4 files changed, 91 insertions(+), 10 deletions(-)
To view, visit change 2691321. To unsubscribe, or for help writing mail filters, visit settings.
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/27600