Skip to content

Conversation

@NicolasHug
Copy link
Contributor

@NicolasHug NicolasHug commented Nov 12, 2025

@NicolasHug NicolasHug marked this pull request as draft November 12, 2025 11:15
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 12, 2025
return lastDecodedAvFrameIndex >= 0 && targetKeyFrameIndex >= 0 &&
lastDecodedAvFrameIndex == targetKeyFrameIndex;
return lastKeyFrameIndex >= 0 && targetKeyFrameIndex >= 0 &&
lastKeyFrameIndex == targetKeyFrameIndex;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Above: renamed to make it clearer that it's the index of a keyframe, not the index of the last decoded frame.

x j y
(2) is more efficient than (1) if there is an I frame between x and y.
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment moved below, largely unchanged.

@NicolasHug NicolasHug marked this pull request as ready for review November 12, 2025 12:38
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.

2 participants