Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions torchvision/csrc/io/video/Video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ std::tuple<torch::Tensor, double> Video::Next() {
// currently not supporting other formats (will do soon)

out.payload.reset();
} else if (res == 61) {
LOG(INFO) << "Decoder ran out of frames (error 61)\n";
} else if (res == ENODATA) {
LOG(INFO) << "Decoder ran out of frames (ENODATA)\n";
} else {
LOG(ERROR) << "Decoder failed with ERROR_CODE " << res;
}
Expand Down