Skip to content

fpsdisplaysink: Add custom-message property

Corentin Damman requested to merge (removed):fpsdisplaysink_custommessage into main

The goal is to be able to parametrize what is shown on the fpsdisplaysink overlay. For example, gst-launch-1.0 videotestsrc ! fpsdisplaysink video-sink=d3d11videosink custom-message="Rendered [Frames]: %1, Current [FPS]: %3, Average [FPS]: %5" allows to display something else than the hardcoded default message ("rendered: %llu, dropped: %llu, current: %.2f, average: %.2f")

Edited by Corentin Damman

Merge request reports