From 0da8c56c74f581fc31c61447b59ab0c82f1a531f Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 8 Jul 2024 13:00:23 +0100 Subject: [PATCH] Fix smoke tests --- test/decoders/manual_smoke_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/decoders/manual_smoke_test.py b/test/decoders/manual_smoke_test.py index 4a1b7b17..5bf263b2 100644 --- a/test/decoders/manual_smoke_test.py +++ b/test/decoders/manual_smoke_test.py @@ -6,6 +6,7 @@ decoder = torchcodec.decoders._core.create_from_file( os.path.dirname(__file__) + "/../resources/nasa_13013.mp4" ) +torchcodec.decoders._core.scan_all_streams_to_update_metadata(decoder) torchcodec.decoders._core.add_video_stream(decoder, stream_index=3) frame = torchcodec.decoders._core.get_frame_at_index( decoder, stream_index=3, frame_index=180