Commit graph

9 commits

Author SHA1 Message Date
45c9b1aa19 Merge tag 'epoch-1.8.0'
Epoch 1.8.0

# Conflicts:
#	Cargo.lock
#	src/video.rs
2026-09-10 17:57:28 +02:00
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
e7781986f5 Fix cosmic-player file launch and video playback
Some checks failed
Validate .desktop files / validate (push) Has been cancelled
2026-07-09 11:51:07 +02:00
Andrei Ivanou
8ad4f00c26 Add playback speed controls & minor UI \ UX improvements 2026-06-03 10:44:40 -04:00
Vukašin Vojinović
2aa2c841fa chore: update dependencies 2026-04-30 01:33:39 +02:00
Ashley Wulber
00395d27dc chore: thumbnails and patches 2026-03-20 18:18:32 -04:00
Jeremy Soller
ceb8f57ec7
Mute when thumbnailing 2026-01-16 13:42:55 -07:00
Josh Megnauth
bb087578df
Prevent screen turning off during playback
Closes: #157

XDG portals expose a D-Bus interface allowing apps to prevent screen
idling, user switching, and other actions. That interface,
org.freedesktop.portal.Inhibit, does all of the heavy lifting here.

Idling = the screen dimming or shutting off.

Idling is inhibited when a video is actively playing.
Idling is NOT inhibited when videos aren't playing - this includes
paused or stopped videos.
2025-11-13 13:26:23 -05:00
Michael Dewberry
823fd0e521 Use same video creation method for player and thumbnailer 2025-11-08 15:38:09 -05:00