Skip to content

mpegtsmux: Accumulate audio packets for larger PES and a couple of small fixes

commit ed4945d4 Author: Jan Schmidt jan@centricular.com Date: Fri Apr 1 05:54:29 2022 +1100

mpegtsmux: Fix potential deadlock changing pmt-interval

The object lock is the innermost lock. Don't take
the mux->lock while holding it.

commit fab86a16 Author: Jan Schmidt jan@centricular.com Date: Fri Apr 1 05:54:07 2022 +1100

mpegtsmux: Remove unused last_flow_ret variable.

commit e2d01fe6 Author: Jan Schmidt jan@centricular.com Date: Fri Apr 1 05:37:16 2022 +1100

mpegtsmux: Accumulate audio packets for larger PES

Collect multiple small audio packets into larger PES
packets to reduce muxer overhead. The target
for PES is set by audio-pes-target-bytes and
audio-pes-target-time properties.

Fixes #1125

commit 511e06f3 Author: Jan Schmidt jan@centricular.com Date: Fri Apr 1 01:42:32 2022 +1100

mpegtsmux: Add _prepared_size functions.

Add functions for calculating the size of buffers that
will be output by the prepare_func() to estimate PES sizes.

Merge request reports