Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid blacking out missed frames #11

Open
egnor opened this issue Aug 31, 2022 · 0 comments
Open

Avoid blacking out missed frames #11

egnor opened this issue Aug 31, 2022 · 0 comments
Assignees

Comments

@egnor
Copy link
Owner

egnor commented Aug 31, 2022

Currently, when pivid overruns a media load buffer, the layer in question goes black for any affected frames.

It would be better to just show the last displayed frame, or the nearest loaded frame, or something like that which would be much less jarring. (Maybe there could be a debug mode where the layer flashes red to make the frame-drop extra obvious for performance tuning.)

This may require a bit of subtlety because currently the script runner and media loader is very eager to drop frames which are "in the past" even if the future frames aren't loaded yet, so it may need some adjustment to keep one around for this purpose.

cc: @aubilenon

@egnor egnor self-assigned this Aug 31, 2022
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

No branches or pull requests

1 participant