Skip to content

Commit caeaeb6

Browse files
authored
Removed excessive logging (#4878)
1 parent 9a7dc1a commit caeaeb6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

torchvision/csrc/io/decoder/stream.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,6 @@ int Stream::openCodec(std::vector<DecoderMetadata>* metadata, int num_threads) {
7474
}
7575
}
7676

77-
// print codec type and number of threads
78-
LOG(INFO) << "Codec " << codecCtx_->codec->long_name
79-
<< " Codec id: " << codecCtx_->codec_id
80-
<< " Codec tag: " << codecCtx_->codec_tag
81-
<< " Codec type: " << codecCtx_->codec_type
82-
<< " Codec extradata: " << codecCtx_->extradata
83-
<< " Number of threads: " << codecCtx_->thread_count
84-
<< " Thread type: " << codecCtx_->thread_type;
85-
8677
int ret;
8778
// Copy codec parameters from input stream to output codec context
8879
if ((ret = avcodec_parameters_to_context(codecCtx_, steam->codecpar)) < 0) {

0 commit comments

Comments
 (0)