Skip to content

Commit 3896a70

Browse files
committed
More comments
1 parent 9b06e79 commit 3896a70

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/torchcodec/decoders/_core/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,18 @@ function(make_torchcodec_libraries
4141
# We create three shared libraries per version of FFmpeg, where the version
4242
# is denoted by N:
4343
#
44-
# 1. libtorchcodec_decoderN.so: Base library which contains the
45-
# implementation of VideoDecoder and everything VideoDecoder needs.
44+
# 1. libtorchcodec_decoderN.{ext}: Base library which contains the
45+
# implementation of VideoDecoder and everything VideoDecoder needs. On
46+
# Linux, {ext} is so. On Mac, it is dylib.
4647
#
47-
# 2. libtorchcodec_custom_opsN.so: Implementation of the PyTorch custom
48-
# ops. Depends on libtorchcodec_decoderN.so.
48+
# 2. libtorchcodec_custom_opsN.{ext}: Implementation of the PyTorch custom
49+
# ops. Depends on libtorchcodec_decoderN.{ext}. On Linux, {ext} is so.
50+
# On Mac, it is dylib.
4951
#
50-
# 3. libtorchcodec_pybind_opsN.so: Implementation of the pybind11 ops. We
52+
# 3. libtorchcodec_pybind_opsN.{ext}: Implementation of the pybind11 ops. We
5153
# keep these separate from the PyTorch custom ops because we have to
5254
# load these libraries separately on the Python side. Depends on
53-
# libtorchcodec_decoderN.so.
55+
# libtorchcodec_decoderN.{ext}. On BOTH Linux and Mac {ext} is so.
5456

5557
# 1. Create libtorchcodec_decoderN.so.
5658
set(decoder_library_name "libtorchcodec_decoder${ffmpeg_major_version}")

0 commit comments

Comments
 (0)