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

Issue 1809703003: Motown: Add examples/media_test, a command line media player app. (Closed)

Created:
4 years, 9 months ago by dalesat
Modified:
4 years, 9 months ago
CC:
mojo-reviews_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Motown: Add examples/media_test, a command line media player app. R=johngro@google.com Committed: https://chromium.googlesource.com/external/mojo/+/6d10d6bbfecec30019b2fe5c06e28a809f0d9753

Patch Set 1 #

Total comments: 39

Patch Set 2 : Tweaks based on feedback. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+628 lines, -16 lines) Patch
M examples/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A + examples/media_test/BUILD.gn View 1 chunk +11 lines, -8 lines 0 comments Download
A examples/media_test/keystroke.h View 1 1 chunk +22 lines, -0 lines 0 comments Download
A examples/media_test/keystroke.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download
A examples/media_test/media_test.h View 1 1 chunk +73 lines, -0 lines 2 comments Download
A examples/media_test/media_test.cc View 1 1 chunk +111 lines, -0 lines 0 comments Download
A examples/media_test/media_test_app.cc View 1 1 chunk +332 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_player.mojom.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_sink.mojom.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_source.mojom.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/media/control/interfaces/media_player.mojom View 1 2 chunks +7 lines, -2 lines 0 comments Download
M mojo/services/media/control/interfaces/media_sink.mojom View 1 2 chunks +7 lines, -2 lines 0 comments Download
M mojo/services/media/control/interfaces/media_source.mojom View 1 2 chunks +7 lines, -2 lines 0 comments Download
M services/media/factory_service/media_player_impl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
dalesat
Please take a look. Thanks!
4 years, 9 months ago (2016-03-16 23:01:02 UTC) #2
johngro
https://codereview.chromium.org/1809703003/diff/1/examples/media_test/keystroke.cc File examples/media_test/keystroke.cc (right): https://codereview.chromium.org/1809703003/diff/1/examples/media_test/keystroke.cc#newcode16 examples/media_test/keystroke.cc:16: bool upped_already = false; This should either be hidden ...
4 years, 9 months ago (2016-03-21 22:10:47 UTC) #3
dalesat
4 years, 9 months ago (2016-03-21 22:22:58 UTC) #5
dalesat
4 years, 9 months ago (2016-03-21 22:22:59 UTC) #6
dalesat
PTAL https://codereview.chromium.org/1809703003/diff/1/examples/media_test/keystroke.cc File examples/media_test/keystroke.cc (right): https://codereview.chromium.org/1809703003/diff/1/examples/media_test/keystroke.cc#newcode16 examples/media_test/keystroke.cc:16: bool upped_already = false; On 2016/03/21 22:10:46, johngro ...
4 years, 9 months ago (2016-03-21 23:58:35 UTC) #7
johngro
one small comment about the initial value of your Local->Media time transformation; lgtm after that. ...
4 years, 9 months ago (2016-03-22 16:56:35 UTC) #8
dalesat
Committed patchset #2 (id:20001) manually as 6d10d6bbfecec30019b2fe5c06e28a809f0d9753 (presubmit successful).
4 years, 9 months ago (2016-03-22 18:26:22 UTC) #10
dalesat
4 years, 9 months ago (2016-03-22 19:59:39 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/1809703003/diff/20001/examples/media_test/med...
File examples/media_test/media_test.h (right):

https://codereview.chromium.org/1809703003/diff/20001/examples/media_test/med...
examples/media_test/media_test.h:62: LinearTransform transform_ =
LinearTransform(0, 1, 1, 0);
On 2016/03/22 16:56:35, johngro wrote:
> Assuming that local->media time is the forward transform here, this should be
> initialized to (0, 0, 1, 0).  This way, no matter what local time reads, media
> time will be 0 until the system is buffered and running.
> 
> Right now, this will end up reporting local time as media time until the
system
> receives its first update from the player.

Done.

Powered by Google App Engine
This is Rietveld 408576698