-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
Description
🐛 Bug
It seems macOS ENODATA code (96) is different than the Linux one (61). The Linux code is currently hard-coded in Video.cpp
, which results in an (unnecessary?) error being shown when using the video decoder on macOS:
vision/torchvision/csrc/io/video/Video.cpp
Lines 314 to 318 in 7d831a2
} else if (res == 61) { | |
LOG(INFO) << "Decoder ran out of frames (error 61)\n"; | |
} else { | |
LOG(ERROR) << "Decoder failed with ERROR_CODE " << res; | |
} |
cc @bjuncek
fmassa