Skip to content

Commit

Permalink
Merge branch 'main' of github.com:pytorch-labs/torchcodec into remove…
Browse files Browse the repository at this point in the history
…_reference_tensor
  • Loading branch information
NicolasHug committed Jul 8, 2024
2 parents 3605326 + a0bb7d8 commit b579b95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/decoders/manual_smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b579b95

Please sign in to comment.