Yoda local fork of System76 cosmic-player
Find a file
krakotay e040f7fbc7
fix: playback of malformed MP4 files with invalid framerates
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.

Some malformed MP4 files previously wouldn't play at all because they
reported a 0/1 framerate.
Other files suffered from severe audio stuttering caused by repeated
long GAP events emitted from malformed edit lists.
This patch treats invalid framerates as unknown (allowing the existing
fallback to be used) and suppresses suspicious long audio GAP events
before they reach the audio sink.
As a result, both kinds of videos now play correctly.
2026-08-29 02:31:43 +02:00
.github Add pull request template 2026-02-13 12:35:27 -07:00
.zed chore: update dependencies 2026-04-30 01:33:39 +02:00
debian Epoch 1.7.0 version update 2026-08-25 12:11:05 -06:00
i18n i18n: translation updates from weblate 2026-08-19 11:51:33 +02:00
res Add playback speed controls & minor UI \ UX improvements 2026-06-03 10:44:40 -04:00
src fix: playback of malformed MP4 files with invalid framerates 2026-08-29 02:31:43 +02:00
.gitignore fix: playback of malformed MP4 files with invalid framerates 2026-08-29 02:31:43 +02:00
build.rs Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
Cargo.lock fix: playback of malformed MP4 files with invalid framerates 2026-08-29 02:31:43 +02:00
Cargo.toml Epoch 1.7.0 version update 2026-08-25 12:11:05 -06:00
i18n.toml Convert to libcosmic and parse audio 2024-01-24 14:31:39 -07:00
justfile Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
LICENSE init 2024-01-23 21:55:34 -07:00
README.md Remove outdated dependencies 2024-10-08 07:58:08 -06:00
rustfmt.toml chore: update dependencies 2026-04-30 01:33:39 +02:00
shell.nix add shell.nix file 2025-03-13 12:18:18 -06:00
TESTING.md Add TESTING.md doc 2026-05-06 12:17:17 -06:00

cosmic-player

WIP COSMIC media player