Skip to content

Commit 6b33f61

Browse files
author
Clement Champetier
committed
InputAudio: clean setup
* Remove commented prints. * Set _codecContext->channels only once.
1 parent 534aeeb commit 6b33f61

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/AvTranscoder/EssenceStream/InputAudio.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ void InputAudio::setup()
7272

7373
_codecContext->channels = _inputStream->getAudioDesc().getChannels();
7474

75-
// std::cout << "Audio codec Id : " << _codecContext->codec_id << std::endl;
76-
// std::cout << "Audio codec Id : " << _codec->name << std::endl;
77-
// std::cout << "Audio codec Id : " << _codec->long_name << std::endl;
78-
79-
_codecContext->channels = _inputStream->getAudioDesc().getCodecContext()->channels;
80-
8175
int ret = avcodec_open2( _codecContext, _codec, NULL );
8276

8377
if( ret < 0 || _codecContext == NULL || _codec == NULL )

0 commit comments

Comments
 (0)