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

Issue 534893002: Introduce the concept of media task runner. (Closed)

Created:
6 years, 3 months ago by damienv1
Modified:
6 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introduce the concept of media task runner. A media task runner can receive tasks whose scheduling depends on a media timestamp. The balanced media task runner factory generates some media task runners whose task schedulings are loosely synchronized between each other. A direct application is to query audio and video frames in a balanced way, which minimizes the memory used for muxed streams. BUG=408189 Committed: https://crrev.com/a46cc751d761ba5a173f05c2288f401176184d72 Cr-Commit-Position: refs/heads/master@{#293368}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address CR comments from patch set #1. #

Total comments: 1

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+635 lines, -3 lines) Patch
A chromecast/media/cma/base/balanced_media_task_runner_factory.h View 1 chunk +68 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/balanced_media_task_runner_factory.cc View 1 1 chunk +252 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/balanced_media_task_runner_unittest.cc View 1 chunk +263 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/media_task_runner.h View 1 1 chunk +44 lines, -0 lines 0 comments Download
A + chromecast/media/cma/base/media_task_runner.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chromecast/media/media.gyp View 1 2 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
damienv1
Please take a look. Thanks !
6 years, 3 months ago (2014-09-03 02:06:58 UTC) #2
xhwang
In media code, we try to do things in the simplest way possible. For example: ...
6 years, 3 months ago (2014-09-03 17:06:40 UTC) #3
damienv1
Regarding the use of a wrapper class (I assume you talk about MediaTaskRunnerWithNotification), this is ...
6 years, 3 months ago (2014-09-03 22:01:03 UTC) #4
lcwu1
LGTM with nit. https://codereview.chromium.org/534893002/diff/20001/chromecast/media/cma/base/balanced_media_task_runner_factory.h File chromecast/media/cma/base/balanced_media_task_runner_factory.h (right): https://codereview.chromium.org/534893002/diff/20001/chromecast/media/cma/base/balanced_media_task_runner_factory.h#newcode21 chromecast/media/cma/base/balanced_media_task_runner_factory.h:21: class BalancedMediaTaskRunner; nit: Add an empty ...
6 years, 3 months ago (2014-09-04 00:32:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/damienv@chromium.org/534893002/40001
6 years, 3 months ago (2014-09-04 17:57:53 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 81c670096ffb89002ad3459cce9f7da44425762b
6 years, 3 months ago (2014-09-04 23:09:23 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:33:46 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a46cc751d761ba5a173f05c2288f401176184d72
Cr-Commit-Position: refs/heads/master@{#293368}

Powered by Google App Engine
This is Rietveld 408576698