Skip to content

Conversation

NicolasHug
Copy link
Member

During the can, we currently map a FrameInfo from the allFrames vec to the keyFrames vec by checking for pts equality. That's not 100% robust as there may exist some 0-duration frames at the same pts of the keyFrame.
We're also not 100% sure that this isn't reliant on metadata somehow.

This PR makes the process more robust by not relying on metadata and by doing the mapping ourselves, adding a new isKeyFrame field to the struct.

@NicolasHug NicolasHug requested a review from scotts January 31, 2025 15:35
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 31, 2025
@NicolasHug NicolasHug merged commit 93fff37 into pytorch:main Jan 31, 2025
44 checks passed
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants