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

Issue 2966823002: A few simplifications to CodecDatabase and VCMGenericDecoder (Closed)

Created:
3 years, 5 months ago by tommi
Modified:
3 years, 5 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

A few simplifications to CodecDatabase and VCMGenericDecoder. * Remove the ReleaseDecoder and Release methods that were used in combination with deleting the decoder object. Now simply deleting the object does the right thing. * Remove 'friend' relationship between the two classes since they don't need to touch each other's state directly anymore. * Use std::unique_ptr for holding pointers and transferring ownership. These changes were previously reviewed here: https://codereview.webrtc.org/2764573002/ BUG=webrtc:7361, 695438 Review-Url: https://codereview.webrtc.org/2966823002 Cr-Commit-Position: refs/heads/master@{#18908} Committed: https://chromium.googlesource.com/external/webrtc/+/5b7fc8ce424490ccf3229c855facdef78e6cb615

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -86 lines) Patch
M webrtc/modules/video_coding/codec_database.h View 4 chunks +7 lines, -9 lines 0 comments Download
M webrtc/modules/video_coding/codec_database.cc View 8 chunks +40 lines, -49 lines 0 comments Download
M webrtc/modules/video_coding/generic_decoder.h View 3 chunks +7 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/generic_decoder.cc View 4 chunks +17 lines, -18 lines 0 comments Download

Messages

Total messages: 19 (15 generated)
tommi
3 years, 5 months ago (2017-06-30 18:01:01 UTC) #9
stefan-webrtc
lgtm
3 years, 5 months ago (2017-07-05 09:44:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2966823002/1
3 years, 5 months ago (2017-07-05 23:25:23 UTC) #16
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 23:46:02 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/5b7fc8ce424490ccf3229c855...

Powered by Google App Engine
This is Rietveld 408576698