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

Unified Diff: webrtc/modules/video_coding/codec_database.cc

Issue 2741853008: Remove ReceiveCodec() getters from VideoCodingModule. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/video_coding/codec_database.h ('k') | webrtc/modules/video_coding/include/video_coding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/codec_database.cc
diff --git a/webrtc/modules/video_coding/codec_database.cc b/webrtc/modules/video_coding/codec_database.cc
index 01e51ce2874be399d416225c016237f0f1b321d0..4d5e20215caa090aebff54ef3b387ff39ee56dd6 100644
--- a/webrtc/modules/video_coding/codec_database.cc
+++ b/webrtc/modules/video_coding/codec_database.cc
@@ -449,22 +449,6 @@ bool VCMCodecDataBase::DeregisterReceiveCodec(uint8_t payload_type) {
return true;
}
-bool VCMCodecDataBase::ReceiveCodec(VideoCodec* current_receive_codec) const {
- RTC_DCHECK(current_receive_codec);
- if (!ptr_decoder_) {
- return false;
- }
- memcpy(current_receive_codec, &receive_codec_, sizeof(VideoCodec));
- return true;
-}
-
-VideoCodecType VCMCodecDataBase::ReceiveCodec() const {
- if (!ptr_decoder_) {
- return kVideoCodecUnknown;
- }
- return receive_codec_.codecType;
-}
-
VCMGenericDecoder* VCMCodecDataBase::GetDecoder(
const VCMEncodedFrame& frame,
VCMDecodedFrameCallback* decoded_frame_callback) {
« no previous file with comments | « webrtc/modules/video_coding/codec_database.h ('k') | webrtc/modules/video_coding/include/video_coding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698