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
6 changes: 3 additions & 3 deletions torchvision/csrc/io/video/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Video::Video(std::string videoPath, std::string stream, int64_t numThreads) {
c10::Dict<std::string, std::vector<double>> ccMetadata;
c10::Dict<std::string, std::vector<double>> subsMetadata;

// calback and metadata defined in struct
// callback and metadata defined in struct
succeeded = decoder.init(params, std::move(callback), &metadata);
if (succeeded) {
for (const auto& header : metadata) {
Expand Down Expand Up @@ -254,7 +254,7 @@ bool Video::setCurrentStream(std::string stream = "video") {
numThreads_ // global number of threads
);

// calback and metadata defined in Video.h
// callback and metadata defined in Video.h
return (decoder.init(params, std::move(callback), &metadata));
}

Expand All @@ -280,7 +280,7 @@ void Video::Seek(double ts, bool fastSeek = false) {
numThreads_ // global number of threads
);

// calback and metadata defined in Video.h
// callback and metadata defined in Video.h
succeeded = decoder.init(params, std::move(callback), &metadata);
LOG(INFO) << "Decoder init at seek " << succeeded << "\n";
}
Expand Down