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

Unified Diff: remoting/codec/audio_decoder.cc

Issue 23477059: Simplify VideoEncoder interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: remoting/codec/audio_decoder.cc
diff --git a/remoting/codec/audio_decoder.cc b/remoting/codec/audio_decoder.cc
index 26e13eb0179cec1b2dd67efad6ba4a052745e49e..b9db77ac99b540c21b788f932d16a32f61504b0f 100644
--- a/remoting/codec/audio_decoder.cc
+++ b/remoting/codec/audio_decoder.cc
@@ -15,9 +15,7 @@ scoped_ptr<AudioDecoder> AudioDecoder::CreateAudioDecoder(
const protocol::SessionConfig& config) {
const protocol::ChannelConfig& audio_config = config.audio_config();
- if (audio_config.codec == protocol::ChannelConfig::CODEC_VERBATIM) {
- return scoped_ptr<AudioDecoder>(new AudioDecoderVerbatim());
- } else if (audio_config.codec == protocol::ChannelConfig::CODEC_OPUS) {
+ if (audio_config.codec == protocol::ChannelConfig::CODEC_OPUS) {
Wez 2013/09/12 14:20:15 Need to restore the CODEC_VERBATIM case here, so w
Sergey Ulanov 2013/09/12 19:18:45 Done.
return scoped_ptr<AudioDecoder>(new AudioDecoderOpus());
}

Powered by Google App Engine
This is Rietveld 408576698