Index: webrtc/modules/video_coding/video_sender.cc |
diff --git a/webrtc/modules/video_coding/video_sender.cc b/webrtc/modules/video_coding/video_sender.cc |
index f3e2bfe1b60221e6571aa54490274be5719ce240..0f2da583a0f63e4814fe43234fa14e6f6fdfd598 100644 |
--- a/webrtc/modules/video_coding/video_sender.cc |
+++ b/webrtc/modules/video_coding/video_sender.cc |
@@ -56,13 +56,7 @@ void VideoSender::Process() { |
if (send_stats_callback_) { |
uint32_t bitRate = _mediaOpt.SentBitRate(); |
uint32_t frameRate = _mediaOpt.SentFrameRate(); |
- std::string encoder_name; |
- { |
- rtc::CritScope cs(¶ms_crit_); |
- // Copy the string here so that we don't hold |params_crit_| in the CB. |
- encoder_name = encoder_name_; |
- } |
- send_stats_callback_->SendStatistics(bitRate, frameRate, encoder_name); |
+ send_stats_callback_->SendStatistics(bitRate, frameRate); |
} |
} |
@@ -314,8 +308,6 @@ int32_t VideoSender::AddVideoFrame(const VideoFrame& videoFrame, |
{ |
rtc::CritScope lock(¶ms_crit_); |
- encoder_name_ = _encoder->ImplementationName(); |
- |
// Change all keyframe requests to encode delta frames the next time. |
for (size_t i = 0; i < next_frame_types_.size(); ++i) { |
// Check for equality (same requested as before encoding) to not |