File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/torchcodec/decoders/_core Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -736,7 +736,6 @@ void VideoDecoder::maybeSeekToBeforeDesiredPts() {
736736
737737VideoDecoder::RawDecodedOutput VideoDecoder::getDecodedOutputWithFilter (
738738 std::function<bool (int , AVFrame*)> filterFunction) {
739- auto start = std::chrono::high_resolution_clock::now ();
740739 if (activeStreamIndices_.size () == 0 ) {
741740 throw std::runtime_error (" No active streams configured." );
742741 }
@@ -745,7 +744,6 @@ VideoDecoder::RawDecodedOutput VideoDecoder::getDecodedOutputWithFilter(
745744 maybeSeekToBeforeDesiredPts ();
746745 maybeDesiredPts_ = std::nullopt ;
747746 }
748- auto seekDone = std::chrono::high_resolution_clock::now ();
749747 // Need to get the next frame or error from PopFrame.
750748 UniqueAVFrame frame (av_frame_alloc ());
751749 int ffmpegStatus = AVSUCCESS;
@@ -835,7 +833,6 @@ VideoDecoder::RawDecodedOutput VideoDecoder::getDecodedOutputWithFilter(
835833 " Could not receive frame from decoder: " +
836834 getFFMPEGErrorStringFromErrorCode (ffmpegStatus));
837835 }
838- auto decodeDone = std::chrono::high_resolution_clock::now ();
839836 // Note that we don't flush the decoder when we reach EOF (even though that's
840837 // mentioned in https://ffmpeg.org/doxygen/trunk/group__lavc__encdec.html).
841838 // This is because we may have packets internally in the decoder that we
You can’t perform that action at this time.
0 commit comments