Skip to content

gstaudioaggregator: expose output-buffer-duration-fraction

The code for this is mostly lifted from audiobuffersplit, it allows use cases such as keeping the buffers output by compositor on one branch and audiomixer on another perfectly aligned, by requiring the compositor to output a n/d frame rate, and setting output-buffer-duration to d/n on the audiomixer.

The old output-buffer-duration property now simply maps to its fractional counterpart, the last set property wins.

Merge request reports

Loading