Skip to content

Commit 7095f6b

Browse files
author
Clement Champetier
committed
Transcoder: log output duration of the process as info
1 parent 1813ed5 commit 7095f6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AvTranscoder/transcoder/Transcoder.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ ProcessStat Transcoder::process()
231231
ProcessStat Transcoder::process( IProgress& progress )
232232
{
233233
if( _streamTranscoders.size() == 0 )
234-
throw std::runtime_error( "missing input streams in transcoder" );
234+
throw std::runtime_error( "Missing input streams in transcoder" );
235235

236236
manageSwitchToGenerator();
237237

@@ -241,8 +241,8 @@ ProcessStat Transcoder::process( IProgress& progress )
241241

242242
preProcessCodecLatency();
243243

244-
double outputDuration = getOutputDuration();
245-
LOG_DEBUG( "Output duration of the process will be " << outputDuration )
244+
const double outputDuration = getOutputDuration();
245+
LOG_INFO( "Output duration of the process will be " << outputDuration << "s." )
246246

247247
size_t frame = 0;
248248
bool frameProcessed = true;

0 commit comments

Comments
 (0)