Skip to content

Commit 6cf1b2a

Browse files
author
Clement Champetier
committed
Transcoder: updated log in processFrame method
1 parent 614eab5 commit 6cf1b2a

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
@@ -237,12 +237,12 @@ bool Transcoder::processFrame()
237237
// For each stream, process a frame
238238
for(size_t streamIndex = 0; streamIndex < _streamTranscoders.size(); ++streamIndex)
239239
{
240-
LOG_DEBUG("Process stream " << streamIndex << "/" << (_streamTranscoders.size() - 1))
240+
LOG_DEBUG("Process stream " << streamIndex + 1 << "/" << _streamTranscoders.size())
241241

242242
// if a stream failed to process
243243
if(!_streamTranscoders.at(streamIndex)->processFrame())
244244
{
245-
LOG_WARN("Failed to process stream " << streamIndex)
245+
LOG_WARN("Failed to process stream at index " << streamIndex)
246246

247247
// if this is the end of the main stream
248248
if(streamIndex == _mainStreamIndex) {

0 commit comments

Comments
 (0)