Index: webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc |
diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc |
index 256013266d6c553c6fd11f087fe1fc2bcaf28fb4..00513a6a120ade0e5b456254f66ef319d7c30218 100644 |
--- a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc |
+++ b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc |
@@ -14,6 +14,7 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/common_types.h" |
#include "webrtc/modules/audio_coding/codecs/g722/g722_interface.h" |
+#include "webrtc/modules/audio_coding/codecs/audio_encoder.h" |
namespace webrtc { |
@@ -145,6 +146,7 @@ AudioEncoder::EncodedInfo AudioEncoderG722::EncodeImpl( |
}); |
info.encoded_timestamp = first_timestamp_in_buffer_; |
info.payload_type = payload_type_; |
+ info.encoder_type = AudioEncoder::CodecType::kG722; |
kwiberg-webrtc
2016/05/12 23:30:21
Just CodecType::kG722 ought to be enough here.
aleloi
2016/05/13 09:02:27
Yes, since EncodeImpl has AudioEncoderG722 and the
|
return info; |
} |