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

Issue 1641163002: Preparation CL for H264 support in WebRTC. (Closed)

Created:
4 years, 10 months ago by hbos_chromium
Modified:
4 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, 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

H264 is about to be supported in WebRTC behind flag, this is preparation work for enabling it. Background: The flag (from WebRTC) is |rtc_use_h264|. Additionally, for H264 decoding to work an |ffmpeg_branding| has to be used that includes H264 (for example "Chrome"). If |rtc_use_h264| is used, this CL adds code to make sure FFmpeg is initialized before any decoding happens (otherwise H264DecoderImpl::InitDecode would fail). This code is commented out however, due to the below reason. When building with |rtc_use_h264|, webrtc::DisableRtcUseH264() is called which disables the effects of |rtc_use_h264| (disables that H264 enc/dec implementation). We do this because we plan to default |rtc_use_h264| to |proprietary_codecs| so that Chromium trybots will use it. This also makes Chrome use it, but we are not ready to launch this feature yet. We will remove DisableRtcUseH264() in a follow-up CL that adds H264 browser tests. That way we have proper test coverage before we enable it (otherwise it is only tested in webrtc repo, not full call stack). BUG=chromium:500605, chromium:468365 Committed: https://crrev.com/2b803417873274a16a0f6c3d5d116d3525026d13 Cr-Commit-Position: refs/heads/master@{#373821}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated comment #

Patch Set 3 : Use of BUILDFLAG instead of macro #

Total comments: 4

Patch Set 4 : Rebase with master #

Patch Set 5 : Disable the effects of |rtc_use_h264| with webrtc::DisableRtcUseH264() #

Patch Set 6 : Added missing deps webrtc_h264, renderer_features. renderer_features.h to private_renderer_webrtc_sources to avoid analyze failure. #

Total comments: 2

Patch Set 7 : Created bug crbug.com/584219 and updated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -0 lines) Patch
M content/content.gyp View 1 2 3 4 5 6 3 chunks +29 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 4 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
hbos_chromium
Tommi, in order for H264 decoding to work we must initialize FFmpeg. Chromium has initialization ...
4 years, 10 months ago (2016-01-28 12:58:47 UTC) #2
hbos_chromium
BUMP tommi
4 years, 10 months ago (2016-02-01 09:25:55 UTC) #3
tommi (sloooow) - chröme
lgtm with some comment clarifications https://codereview.chromium.org/1641163002/diff/1/content/renderer/media/webrtc/peer_connection_dependency_factory.cc File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/1641163002/diff/1/content/renderer/media/webrtc/peer_connection_dependency_factory.cc#newcode267 content/renderer/media/webrtc/peer_connection_dependency_factory.cc:267: // used. "must be ...
4 years, 10 months ago (2016-02-01 17:51:20 UTC) #4
hbos_chromium
+jochen for content/renderer/BUILD.gn. Please take a look. https://codereview.chromium.org/1641163002/diff/1/content/renderer/media/webrtc/peer_connection_dependency_factory.cc File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/1641163002/diff/1/content/renderer/media/webrtc/peer_connection_dependency_factory.cc#newcode267 content/renderer/media/webrtc/peer_connection_dependency_factory.cc:267: // used. ...
4 years, 10 months ago (2016-02-02 14:20:12 UTC) #7
tommi (sloooow) - chröme
lgtm
4 years, 10 months ago (2016-02-02 15:38:44 UTC) #8
jochen (gone - plz use gerrit)
hum, my feeling is that this should be a buildflag, not just a random define? ...
4 years, 10 months ago (2016-02-03 13:28:52 UTC) #10
hbos_chromium
On 2016/02/03 13:28:52, jochen wrote: > hum, my feeling is that this should be a ...
4 years, 10 months ago (2016-02-03 13:53:20 UTC) #11
jochen (gone - plz use gerrit)
i'm referring to this: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/5c4ySpPsV14
4 years, 10 months ago (2016-02-03 13:54:33 UTC) #12
hbos_chromium
On 2016/02/03 13:54:33, jochen wrote: > i'm referring to this: > https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/5c4ySpPsV14 Cool. I get ...
4 years, 10 months ago (2016-02-03 14:47:22 UTC) #13
brettw
On 2016/02/03 14:47:22, hbos_chromium wrote: > On 2016/02/03 13:54:33, jochen wrote: > > i'm referring ...
4 years, 10 months ago (2016-02-03 18:20:12 UTC) #14
hbos_chromium
PTAL jochen/brettw.
4 years, 10 months ago (2016-02-03 20:42:41 UTC) #15
brettw
lgtm https://codereview.chromium.org/1641163002/diff/40001/content/content.gyp File content/content.gyp (right): https://codereview.chromium.org/1641163002/diff/40001/content/content.gyp#newcode33 content/content.gyp:33: # This conditional looks insane, but without it ...
4 years, 10 months ago (2016-02-03 22:19:56 UTC) #16
hbos_chromium
PTAL tommi, jochen. (Tommi I'll need a new lgtm from you after PS 5 changes.) ...
4 years, 10 months ago (2016-02-04 10:47:32 UTC) #21
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/1641163002/diff/140001/content/content.gyp File content/content.gyp (right): https://codereview.chromium.org/1641163002/diff/140001/content/content.gyp#newcode36 content/content.gyp:36: # 'targets' is not an option, then we ...
4 years, 10 months ago (2016-02-04 10:59:48 UTC) #22
hbos_chromium
PTAL jochen https://codereview.chromium.org/1641163002/diff/140001/content/content.gyp File content/content.gyp (right): https://codereview.chromium.org/1641163002/diff/140001/content/content.gyp#newcode36 content/content.gyp:36: # 'targets' is not an option, then ...
4 years, 10 months ago (2016-02-04 11:14:21 UTC) #23
hbos_chromium
(Bump)
4 years, 10 months ago (2016-02-05 10:51:31 UTC) #25
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-05 15:00:44 UTC) #26
hbos_chromium
On 2016/02/05 15:00:44, jochen (OOO) wrote: > lgtm Thanks. (Btw your name still says "(OOO)")
4 years, 10 months ago (2016-02-05 15:04:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641163002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641163002/160001
4 years, 10 months ago (2016-02-05 15:05:18 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 10 months ago (2016-02-05 16:19:54 UTC) #32
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 16:21:19 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2b803417873274a16a0f6c3d5d116d3525026d13
Cr-Commit-Position: refs/heads/master@{#373821}

Powered by Google App Engine
This is Rietveld 408576698