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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy