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

Issue 1886363002: Reland: Tie kWebRtcH264WithOpenH264FFmpeg and kEnableWebRtcHWH264Encoding flags on Mac (Closed)

Created:
4 years, 8 months ago by emircan
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Tie kWebRtcH264WithOpenH264FFmpeg and kEnableWebRtcHWH264Encoding flags on Mac Additional to the original, this CL checks for >=OSX10.9 in content/common/gpu/media/vt_video_encode_accelerator_mac.cc since VideoToolbox HW features are introduced there. The original CL got reverted because of a failure on a bot running 10.8.5. https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/VideoToolbox.html Original CL description: https://codereview.chromium.org/1852523002/ This CL enables using VideoToolbox encoder when kWebRtcH264WithOpenH264FFmpeg flag is on. BUG=597334 TBR=mcasas@chromium.org, hbos@chromium.org Committed: https://crrev.com/3e6e8e36cbd14975a4ff345dd153b24db6e4c444 Cr-Commit-Position: refs/heads/master@{#388611}

Patch Set 1 : #

Patch Set 2 : Change to DLOGs. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vt_video_encode_accelerator_mac.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_video_encoder_factory.cc View 2 chunks +8 lines, -1 line 1 comment Download

Messages

Total messages: 27 (18 generated)
emircan
PTAL.
4 years, 8 months ago (2016-04-20 18:11:09 UTC) #6
emircan
dalecurtis@, can you review the changes in content/common/gpu/media/vt_video_encode_accelerator_mac.cc ?
4 years, 8 months ago (2016-04-20 21:25:09 UTC) #12
DaleCurtis
=>sandersd
4 years, 8 months ago (2016-04-20 21:26:54 UTC) #14
sandersd (OOO until July 31)
lgtm
4 years, 8 months ago (2016-04-20 21:39:02 UTC) #17
mcasas
On 2016/04/20 21:39:02, sandersd wrote: > lgtm Assuming the only new code is that in ...
4 years, 8 months ago (2016-04-20 22:29:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886363002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886363002/60001
4 years, 8 months ago (2016-04-20 22:42:44 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 8 months ago (2016-04-21 00:07:06 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3e6e8e36cbd14975a4ff345dd153b24db6e4c444 Cr-Commit-Position: refs/heads/master@{#388611}
4 years, 8 months ago (2016-04-22 19:28:03 UTC) #25
pbos
4 years, 8 months ago (2016-04-24 18:37:17 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/1886363002/diff/60001/content/renderer/media/...
File content/renderer/media/rtc_video_encoder_factory.cc (right):

https://codereview.chromium.org/1886363002/diff/60001/content/renderer/media/...
content/renderer/media/rtc_video_encoder_factory.cc:42: webrtc_h264_enabled) {
I don't think we should hook this into whether SW H264 is enabled or not,
pushing both of these at the same time seems like it could be problematic to me.
It also makes it harder to test OpenH264/FFmpeg on platforms where hardware is
supported.

Isn't kEnableWebRtcHWH264Encoding sufficient? Otherwise, could you add a
separate flag?

Powered by Google App Engine
This is Rietveld 408576698