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

Issue 1606613003: Remove extra_options from VideoCodec. (Closed)

Created:
4 years, 11 months ago by pbos-webrtc
Modified:
4 years, 11 months ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, andresp, peah-webrtc, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove extra_options from VideoCodec. Constructing default options is racy when initializing multiple VP8 encoders in parallel. This is only used for VP8 temporal layers. Adding TemporalLayerFactory to VP8 codec specifics instead of generic options. Removes the last webrtc::Config uses/includes from video code. Also removes VideoCodec equality operators which are no longer in use. BUG=webrtc:5410 R=stefan@webrtc.org TBR=mflodman@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/7b971e728b614fa46aca88793ccb69ba80069fb9

Patch Set 1 #

Patch Set 2 : add delete operators #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : class #

Patch Set 5 : compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -348 lines) Patch
M webrtc/call/call.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/call/congestion_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/common_types.h View 1 4 chunks +4 lines, -62 lines 0 comments Download
M webrtc/modules/video_coding/codec_database.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 3 chunks +6 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/temporal_layers.h View 1 2 3 4 3 chunks +12 lines, -14 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M webrtc/video/encoder_state_feedback_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_capture_input_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/video/vie_channel.cc View 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/video/vie_codec_unittest.cc View 1 chunk +0 lines, -230 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606613003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606613003/1
4 years, 11 months ago (2016-01-19 11:18:15 UTC) #2
pbos-webrtc
PTAL, need to remove the webrtc::Config use for race-free temporal layer setup across multiple encoders. ...
4 years, 11 months ago (2016-01-19 11:24:18 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/10423)
4 years, 11 months ago (2016-01-19 12:11:38 UTC) #6
pbos-webrtc
add delete operators
4 years, 11 months ago (2016-01-19 14:32:43 UTC) #7
pbos-webrtc
.
4 years, 11 months ago (2016-01-19 14:39:00 UTC) #8
stefan-webrtc
lgtm, but we should probably fix my minor comment. https://codereview.webrtc.org/1606613003/diff/40001/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h File webrtc/modules/video_coding/codecs/vp8/temporal_layers.h (right): https://codereview.webrtc.org/1606613003/diff/40001/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h#newcode60 webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:60: ...
4 years, 11 months ago (2016-01-19 14:58:25 UTC) #11
pbos-webrtc
class
4 years, 11 months ago (2016-01-19 15:22:14 UTC) #12
pbos-webrtc
https://codereview.webrtc.org/1606613003/diff/40001/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h File webrtc/modules/video_coding/codecs/vp8/temporal_layers.h (right): https://codereview.webrtc.org/1606613003/diff/40001/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h#newcode60 webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:60: struct RealTimeTemporalLayersFactory : TemporalLayersFactory { On 2016/01/19 14:58:25, stefan-webrtc ...
4 years, 11 months ago (2016-01-19 15:22:21 UTC) #13
pbos-webrtc
TBR=mflodman@ for webrtc/common_types.h.
4 years, 11 months ago (2016-01-19 15:23:01 UTC) #15
pbos-webrtc
compile
4 years, 11 months ago (2016-01-19 15:25:57 UTC) #16
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7b971e728b614fa46aca88793ccb69ba80069fb9 Cr-Commit-Position: refs/heads/master@{#11307}
4 years, 11 months ago (2016-01-19 15:26:28 UTC) #18
pbos-webrtc
4 years, 11 months ago (2016-01-19 15:26:29 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
7b971e728b614fa46aca88793ccb69ba80069fb9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698