are only
opened/read after a low-rate input block was completely read.
This patch decreases the blocksize for low-rate inputs, so
approximately a block is read every 40ms. This decreases the startup
delay when multiplexing inputs with different rates.
Signed-off-by: Philipp M. Scholl
---
libavform
low-rate input block was completely read.
This patch decreases the blocksize for low-rate inputs, so
approximately a block is read every 40ms. This decreases the startup
delay when multiplexing inputs with different rates.
Signed-off-by: Philipp M. Scholl
---
libavformat/pcm.c |
Anything holding this patch back from being applied?
cheers,
-phil
On Fri, Feb 16, 2018 at 02:13:16PM +0100, Tomas Härdin wrote:
> On 2018-02-16 14:04, Philipp M. Scholl wrote:
> > Version 3 of the PCM delay patch with further feedback included.
> >
> > Still not sure ab
hen multiplexing inputs with different rates.
Signed-off-by: Philipp M. Scholl
---
libavformat/pcm.c | 16 +---
tests/ref/seek/acodec-pcm-f32be | 54 -
tests/ref/seek/acodec-pcm-f64be | 54 -
tests/
On Thu, Feb 15, 2018 at 01:54:17AM +0100, Michael Niedermayer wrote:
[..snip..]
> breaks fate
>
I was unsure about the ramifications of a changed blocksize. Maybe you can
comment on that?
>
> [...]
> > --- a/tests/ref/seek/lavf-alaw
> > +++ b/tests/ref/seek/lavf-alaw
> > @@ -1,53 +1,53 @@
> > -r
On Wed, Feb 14, 2018 at 03:41:18PM +0100, Tomas Härdin wrote:
[..snip..]
> FFMAX(codec->sample_rate/25, 1) would be nicer
>
agree.
> > +size = FFMIN(size, RAW_SAMPLES * codec->block_align);
> > +size = 1 << ff_log2(size);
> > -size= RAW_SAMPLES*s->streams[0]->codecpar->block_align;
> >
opened/read after a low-rate input block was completely read.
This patch decreases the blocksize for low-rate inputs, so
approximately a block is read every 40ms. This decreases the startup
delay when multiplexing inputs with different rates.
Signed-off-by: Philipp M. Scholl
---
libavf
the blocksize for low-rate inputs, so
approximately a block is read every 10ms. This decreases the startup
delay when multiplexing inputs with different rates.
Signed-off-by: Philipp M. Scholl
---
libavformat/pcm.c | 41 +++
tests/Makefile |