Skip to content

Avoid blacking out missed frames #11

@egnor

Description

@egnor

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions