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

Issue 1560953002: Implement fallback from WMPI to WMPA. (Closed)

Created:
4 years, 11 months ago by sandersd (OOO until July 31)
Modified:
4 years, 11 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement fallback from WMPI to WMPA. With this change, RenderFrameImpl::createMediaPlayer() will select between WMPI and WMPA on Android. Specifically, WMPI will be used unless: - --disable-accelerated-video-decode is set. - MediaCodec is not supported (because the API level is too low or the device is blacklisted). - The URL indicates that the video is HLS. Additionally, --disable-accelerated-video-decode is now automatically set whenever any of these flags are set: --disable-gpu --single-process --in-process-gpu Since in these modes VDAs do not currently work (and these flags are not passed to the renderer). BUG=516765 Committed: https://crrev.com/bcbd85c1c6067e05da5245b7fdabb084c48d5c32 Cr-Commit-Position: refs/heads/master@{#368475}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove completed TODO. #

Total comments: 4

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Add comment to gpu_data_manager_impl_private.cc #

Total comments: 4

Patch Set 5 : Move IsHLS* to MediaCodecUtil #

Total comments: 2

Patch Set 6 : Only include MediaCodecUtil on Android. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -26 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 3 chunks +4 lines, -23 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 2 chunks +8 lines, -3 lines 0 comments Download
M media/base/android/media_codec_util.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M media/base/android/media_codec_util.cc View 1 2 3 4 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
sandersd (OOO until July 31)
https://codereview.chromium.org/1560953002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/1560953002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode920 content/browser/gpu/gpu_data_manager_impl_private.cc:920: bool GpuDataManagerImplPrivate::ShouldDisableAcceleratedVideoDecode( I'm not certain that this is the ...
4 years, 11 months ago (2016-01-06 00:56:20 UTC) #2
watk
https://codereview.chromium.org/1560953002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1560953002/diff/20001/content/renderer/render_frame_impl.cc#newcode2326 content/renderer/render_frame_impl.cc:2326: static bool IsHLSURL(GURL& url) { The style guide says ...
4 years, 11 months ago (2016-01-06 01:17:21 UTC) #3
sandersd (OOO until July 31)
https://codereview.chromium.org/1560953002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1560953002/diff/20001/content/renderer/render_frame_impl.cc#newcode2326 content/renderer/render_frame_impl.cc:2326: static bool IsHLSURL(GURL& url) { On 2016/01/06 01:17:21, watk ...
4 years, 11 months ago (2016-01-06 01:27:01 UTC) #4
sandersd (OOO until July 31)
4 years, 11 months ago (2016-01-06 20:05:20 UTC) #6
watk
lgtm https://codereview.chromium.org/1560953002/diff/40001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/1560953002/diff/40001/content/renderer/media/android/webmediaplayer_android.cc#newcode189 content/renderer/media/android/webmediaplayer_android.cc:189: extra newline or subtle style rule?
4 years, 11 months ago (2016-01-06 20:06:48 UTC) #7
hubbe
lgtm
4 years, 11 months ago (2016-01-06 20:11:24 UTC) #8
sandersd (OOO until July 31)
+dalecurtis for good measure
4 years, 11 months ago (2016-01-06 20:12:13 UTC) #10
DaleCurtis
Needs a meaningful description about what this is doing and why. Are there any places ...
4 years, 11 months ago (2016-01-06 21:03:22 UTC) #11
sandersd (OOO until July 31)
https://codereview.chromium.org/1560953002/diff/60001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/1560953002/diff/60001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode943 content/browser/gpu/gpu_data_manager_impl_private.cc:943: if (command_line->HasSwitch(switches::kDisableGpu) || On 2016/01/06 21:03:22, DaleCurtis wrote: > ...
4 years, 11 months ago (2016-01-06 22:20:38 UTC) #12
DaleCurtis
lgtm % comment q. https://codereview.chromium.org/1560953002/diff/80001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/1560953002/diff/80001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode944 content/browser/gpu/gpu_data_manager_impl_private.cc:944: // --in-process-gpu, at least on ...
4 years, 11 months ago (2016-01-06 22:54:40 UTC) #13
DaleCurtis
(Still needs a beefier description though)
4 years, 11 months ago (2016-01-06 22:54:53 UTC) #14
sandersd (OOO until July 31)
https://codereview.chromium.org/1560953002/diff/80001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/1560953002/diff/80001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode944 content/browser/gpu/gpu_data_manager_impl_private.cc:944: // --in-process-gpu, at least on Android (necessary to support ...
4 years, 11 months ago (2016-01-07 00:08:38 UTC) #15
sandersd (OOO until July 31)
jochen@chromium.org: Please review changes in content/
4 years, 11 months ago (2016-01-07 00:19:37 UTC) #18
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-08 14:19:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1560953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1560953002/80001
4 years, 11 months ago (2016-01-08 21:13:35 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/99827) chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 11 months ago (2016-01-08 21:24:09 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1560953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1560953002/100001
4 years, 11 months ago (2016-01-08 21:52:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1560953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1560953002/100001
4 years, 11 months ago (2016-01-08 22:44:19 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-09 00:39:26 UTC) #32
commit-bot: I haz the power
4 years, 11 months ago (2016-01-09 00:40:48 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bcbd85c1c6067e05da5245b7fdabb084c48d5c32
Cr-Commit-Position: refs/heads/master@{#368475}

Powered by Google App Engine
This is Rietveld 408576698