@@ -371,15 +371,14 @@ bool StreamTranscoder::processRewrap()
371
371
assert ( _outputStream != NULL );
372
372
assert ( _inputDecoder == NULL );
373
373
374
- LOG_DEBUG ( " Rewrap a frame " )
374
+ LOG_DEBUG ( " StreamTranscoder::processRewrap " )
375
375
376
376
// if switched to generator, process frame
377
377
if ( _currentDecoder == _generator )
378
378
{
379
379
return processTranscode ();
380
380
}
381
381
382
- LOG_DEBUG ( " read next packet" )
383
382
CodedData data;
384
383
if ( ! _inputStream->readNextPacket ( data ) )
385
384
{
@@ -391,7 +390,6 @@ bool StreamTranscoder::processRewrap()
391
390
return false ;
392
391
}
393
392
394
- LOG_DEBUG ( " wrap (" << data.getSize () << " bytes)" )
395
393
const IOutputStream::EWrappingStatus wrappingStatus = _outputStream->wrap ( data );
396
394
switch ( wrappingStatus )
397
395
{
@@ -416,9 +414,9 @@ bool StreamTranscoder::processTranscode( const int subStreamIndex )
416
414
assert ( _frameBuffer != NULL );
417
415
assert ( _transform != NULL );
418
416
419
- LOG_DEBUG ( " Transcode a frame " )
417
+ LOG_DEBUG ( " StreamTranscoder::processTranscode " )
420
418
421
- LOG_DEBUG ( " decode next frame" )
419
+ LOG_DEBUG ( " Decode next frame" )
422
420
bool decodingStatus = false ;
423
421
if ( subStreamIndex < 0 )
424
422
decodingStatus = _currentDecoder->decodeNextFrame ( *_sourceBuffer );
@@ -428,15 +426,15 @@ bool StreamTranscoder::processTranscode( const int subStreamIndex )
428
426
CodedData data;
429
427
if ( decodingStatus )
430
428
{
431
- LOG_DEBUG ( " convert (" << _sourceBuffer->getSize () << " bytes)" )
429
+ LOG_DEBUG ( " Convert (" << _sourceBuffer->getSize () << " bytes)" )
432
430
_transform->convert ( *_sourceBuffer, *_frameBuffer );
433
431
434
- LOG_DEBUG ( " encode (" << _frameBuffer->getSize () << " bytes)" )
432
+ LOG_DEBUG ( " Encode (" << _frameBuffer->getSize () << " bytes)" )
435
433
_outputEncoder->encodeFrame ( *_frameBuffer, data );
436
434
}
437
435
else
438
436
{
439
- LOG_DEBUG ( " encode last frame(s)" )
437
+ LOG_DEBUG ( " Encode last frame(s)" )
440
438
if ( ! _outputEncoder->encodeFrame ( data ) )
441
439
{
442
440
if ( _canSwitchToGenerator )
0 commit comments