Skip to content

Fix grab-compute-capping-fps latency regression in zedsrc#97

Open
adujardin wants to merge 1 commit intomasterfrom
fix_latency_on_grab_capping
Open

Fix grab-compute-capping-fps latency regression in zedsrc#97
adujardin wants to merge 1 commit intomasterfrom
fix_latency_on_grab_capping

Conversation

@adujardin
Copy link
Copy Markdown
Member

When grab-compute-capping-fps was set lower than camera-fps, the element still advertised the camera framerate in caps and latency queries. This caused downstream elements (queues, muxers, sinks) to schedule based on the wrong rate, adding ~140 ms of unnecessary latency — making capped mode no better than simply lowering camera-fps.

Now the effective output framerate accounts for the capping parameter in caps negotiation, latency queries, and buffer duration.

When grab-compute-capping-fps was set lower than camera-fps, the
element still advertised the camera framerate in caps and latency
queries. This caused downstream elements (queues, muxers, sinks)
to schedule based on the wrong rate, adding ~140 ms of unnecessary
latency — making capped mode no better than simply lowering camera-fps.

Now the effective output framerate accounts for the capping parameter
in caps negotiation, latency queries, and buffer duration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant