Skip to content

Commit b91fc30

Browse files
author
Clement Champetier
committed
AvOutputVideo: clean encodeFrame
Remove comments.
1 parent 4ca6256 commit b91fc30

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/AvTranscoder/essenceStream/AvOutputVideo.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,25 +103,7 @@ bool AvOutputVideo::encodeFrame( const Frame& sourceFrame, Frame& codedFrame )
103103
memcpy( codedFrame.getPtr(), packet.data, packet.size );
104104
}
105105
#endif
106-
/*
107-
std::string imgType = "";
108-
switch( codecContext->coded_frame->pict_type )
109-
{
110-
case AV_PICTURE_TYPE_NONE : imgType = "None"; break;
111-
case AV_PICTURE_TYPE_I : imgType = "I"; break;
112-
case AV_PICTURE_TYPE_P : imgType = "P"; break;
113-
case AV_PICTURE_TYPE_B : imgType = "B"; break;
114-
case AV_PICTURE_TYPE_S : imgType = "S"; break;
115-
case AV_PICTURE_TYPE_SI : imgType = "SI"; break;
116-
case AV_PICTURE_TYPE_SP : imgType = "SP"; break;
117-
case AV_PICTURE_TYPE_BI : imgType = "BI"; break;
118-
}
119106

120-
std::clog << "\tframe " << codecContext->coded_frame->display_picture_number;
121-
std::clog << " coded @ " << codecContext->coded_frame->coded_picture_number;
122-
std::clog << " type : " << imgType;
123-
std::clog << " quality : " << codecContext->coded_frame->quality << std::endl;
124-
*/
125107
av_free_packet( &packet );
126108
#if LIBAVCODEC_VERSION_MAJOR > 54
127109
av_frame_free( &frame );

0 commit comments

Comments
 (0)