-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[torchcodec] simple video decoder constructor now accepts path objects (
#60) Summary: Pull Request resolved: #60 Addresses TODO in code. `SimpleVideoDecoder` now accepts a `pathlib.Path` object directly. We still have to call a string constructor on it, as the underlying core function needs to take a string, but this is a usability improvement. Reviewed By: ahmadsharif1 Differential Revision: D59325727 fbshipit-source-id: 2d2e1b8414046fb48d5d2d6631b0abda56a8b86b
- Loading branch information
1 parent
a388b06
commit 8f1c911
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters