File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/torchcodec/decoders/_core Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -916,8 +916,8 @@ VideoDecoder::AudioFramesOutput VideoDecoder::getFramesPlayedInRangeAudio(
916916// --------------------------------------------------------------------------
917917
918918void VideoDecoder::setCursorPtsInSeconds (double seconds) {
919- validateActiveStream (AVMEDIA_TYPE_VIDEO);
920- setCursorPtsInSecondsInternal (seconds);
919+ validateActiveStream (AVMEDIA_TYPE_VIDEO);
920+ setCursorPtsInSecondsInternal (seconds);
921921}
922922
923923void VideoDecoder::setCursorPtsInSecondsInternal (double seconds) {
Original file line number Diff line number Diff line change @@ -653,7 +653,9 @@ def test_next(self, asset):
653653 frame , * _ = get_next_frame (decoder )
654654 except IndexError :
655655 break
656- torch .testing .assert_close (frame , asset .get_frame_data_by_index (frame_index ))
656+ torch .testing .assert_close (
657+ frame , asset .get_frame_data_by_index (frame_index )
658+ )
657659 frame_index += 1
658660
659661 @pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments