Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[torchcodec] simple video decoder constructor now accepts path objects #60

Closed
wants to merge 2 commits into from
Closed

[torchcodec] simple video decoder constructor now accepts path objects #60

wants to merge 2 commits into from

Conversation

scotts
Copy link
Contributor

@scotts scotts commented Jul 3, 2024

Summary: 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.

Differential Revision: D59325727

scotts and others added 2 commits July 2, 2024 19:32
Differential Revision: D59309882
Summary: 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.

Differential Revision: D59325727
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 3, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D59325727

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8f1c911.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants