Skip to content

Commit b06a78f

Browse files
committed
Merge pull request #135 from cchampet/hotfix_transcoderCreateInputFileOnlyIfNecessary
Transcoder: create InputFile only if not already done
2 parents b3c4fc7 + 9eab131 commit b06a78f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AvTranscoder/transcoder/Transcoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ InputFile* Transcoder::addInputFile( const std::string& filename, const size_t s
345345

346346
for( std::vector< InputFile* >::iterator it = _inputFiles.begin(); it != _inputFiles.end(); ++it )
347347
{
348-
if( ( (*it)->getFilename() == filename ) &&
349-
( ! (*it)->getStream( streamIndex ).isActivated() ) )
348+
if( ( (*it)->getFilename() == filename ) )
350349
{
351350
referenceFile = (*it);
351+
LOG_DEBUG( "Get instance of InputFile from '" << filename << "'" )
352352
break;
353353
}
354354
}

0 commit comments

Comments
 (0)