Skip to content

Conversation

@alastor0325
Copy link
Contributor

Per Matroska Block Lacing [1], the number of frames in a Block can be determined by its Lacing value. This new function allows Gecko to accurately determine the total media frames in an MKV file.

[1] https://www.matroska.org/technical/notes.html

…mes from Block Lacing.

Per Matroska Block Lacing [1], the number of frames in a Block can be
determined by its Lacing value. This new function allows Gecko to
accurately determine the total media frames in an MKV file.

[1] https://www.matroska.org/technical/notes.html
@alastor0325
Copy link
Contributor Author

@kinetiknz could you help me review this? In addition, I will have a separate PR to remove nestegg_read_last_packet after modifying Gecko's code to use nestegg_read_total_frames_count. Thanks!

@kinetiknz
Copy link
Collaborator

Thanks! I've merged this as a507ba1 (with framesOut renamed to frames_out in nestegg.h)

@kinetiknz kinetiknz closed this Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants