We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c11f72 commit de4faccCopy full SHA for de4facc
src/torchcodec/decoders/_core/VideoDecoder.cpp
@@ -854,7 +854,7 @@ torch::Tensor VideoDecoder::getFramesPlayedInRangeAudio(
854
855
StreamInfo& streamInfo = streamInfos_[activeStreamIndex_];
856
857
- auto lastDecodedFrameIsPlayedAt = [this, &streamInfo](double seconds) {
+ auto lastDecodedFrameIsPlayedAt = [&streamInfo](double seconds) {
858
auto pts = secondsToClosestPts(seconds, streamInfo.timeBase);
859
return (
860
streamInfo.lastDecodedAvFramePts <= pts and
0 commit comments