Skip to content

Commit 38c91a9

Browse files
author
Clement Champetier
committed
OutputFile: log in debug if eWrappingWaitingForData
1 parent 37601a8 commit 38c91a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/AvTranscoder/file/OutputFile.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ IOutputStream::EWrappingStatus OutputFile::wrap(const CodedData& data, const siz
215215
const double currentStreamDuration = _outputStreams.at(streamIndex)->getStreamDuration();
216216
if(currentStreamDuration < _previousProcessedStreamDuration)
217217
{
218-
// if the current stream is strictly shorter than the previous, wait for more data
218+
LOG_DEBUG("The output stream " << streamIndex << " is strictly shorter than the previous duration saved ("
219+
<< currentStreamDuration << "s < " << _previousProcessedStreamDuration
220+
<< "s): wait for more data.")
219221
return IOutputStream::eWrappingWaitingForData;
220222
}
221223

0 commit comments

Comments
 (0)