Skip to content

Commit 3a7a040

Browse files
author
Clement Champetier
committed
VideoTransform: log video conversion as info
Previously debug.
1 parent 0f415e7 commit 3a7a040

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/AvTranscoder/transform/VideoTransform.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ bool VideoTransform::init( const Frame& srcFrame, const Frame& dstFrame )
6363
const char* dstPixFmt;
6464
dstPixFmt = av_get_pix_fmt_name( dstPixelFormat );
6565

66-
LOG_DEBUG( "Video conversion from " << ( srcPixFmt != NULL ? srcPixFmt : "None" ) << " to " << ( dstPixFmt != NULL ? dstPixFmt : "None" ) )
67-
68-
LOG_DEBUG( "Source, width = " << src.desc().getWidth() )
69-
LOG_DEBUG( "Source, height = " << src.desc().getHeight() )
70-
71-
LOG_DEBUG( "Destination, width = " << dst.desc().getWidth() )
72-
LOG_DEBUG( "Destination, height = " << dst.desc().getHeight() )
66+
std::stringstream msg;
67+
msg << "Video conversion from " << ( srcPixFmt != NULL ? srcPixFmt : "None" ) << " to " << ( dstPixFmt != NULL ? dstPixFmt : "None" ) << std::endl;
68+
msg << "Source, width = " << src.desc().getWidth() << std::endl;
69+
msg << "Source, height = " << src.desc().getHeight() << std::endl;
70+
msg << "Destination, width = " << dst.desc().getWidth() << std::endl;
71+
msg << "Destination, height = " << dst.desc().getHeight() << std::endl;
72+
LOG_INFO( msg.str() )
7373

7474
return true;
7575
}

0 commit comments

Comments
 (0)