Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

gst: Use buffered ranges with precise position timestamps#468

Merged
jdm merged 1 commit into
servo:mainfrom
tharkum:gst-buffered-ranges-precise-position-timestamps
Nov 20, 2025
Merged

gst: Use buffered ranges with precise position timestamps#468
jdm merged 1 commit into
servo:mainfrom
tharkum:gst-buffered-ranges-precise-position-timestamps

Conversation

@tharkum
Copy link
Copy Markdown
Contributor

@tharkum tharkum commented Nov 20, 2025

Buffered ranges from the gstreamer backend must contain the precise position timestamps (not rounded to the nearest second).

Continuation #460

Buffered ranges from the gstreamer backend must contain
the precise position timestamps (not rounded to the nearest
second).

Continuation servo#460

Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
@tharkum
Copy link
Copy Markdown
Contributor Author

tharkum commented Nov 20, 2025

@jdm < Please take a look.

Comment thread examples/player/app.rs
metadata.duration.map_or(std::f64::INFINITY, |duration| duration.as_secs_f64());
playerstate.duration = metadata
.duration
.map_or(std::f64::INFINITY, |duration| duration.as_secs_f64());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

format changed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, i run cargo fmt command (same as in #459)

Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Makes sense.

@jdm jdm added this pull request to the merge queue Nov 20, 2025
Merged via the queue into servo:main with commit 76639ea Nov 20, 2025
3 checks passed
@tharkum tharkum deleted the gst-buffered-ranges-precise-position-timestamps branch November 20, 2025 20:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants