1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavformat
Philipp M. Scholl 040b28aecc avformat/pcm: decrease delay when reading PCM streams.
Thanks for the discussion. Here's the next version, now with /25 and removed
ff_log2().

  The blocksize of the PCM decoder is hard-coded. This creates
unnecessary delay when reading low-rate (<100Hz) streams. This creates
issues when multiplexing multiple streams, since other inputs 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 <pscholl@bawue.de>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-03-13 01:34:42 +01:00
..
2018-03-07 22:26:53 +01:00
2017-03-29 14:49:29 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-19 22:07:21 +02:00
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2017-10-05 17:10:23 +02:00
2017-08-30 12:13:01 +02:00
2017-09-07 15:19:22 +02:00
2018-02-04 15:19:41 +01:00
2017-10-05 17:10:23 +02:00
2018-03-10 02:44:45 +01:00
2017-12-13 15:10:07 +00:00
2018-03-07 22:26:53 +01:00
2017-04-20 15:39:18 +00:00
2017-11-05 10:42:07 +01:00
2017-12-08 16:01:09 +01:00
2017-03-30 13:26:04 +02:00
2017-10-05 17:10:23 +02:00
2017-06-13 19:49:06 +02:00
2018-03-07 22:26:53 +01:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2017-04-25 15:39:10 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2018-03-07 22:26:53 +01:00
2017-09-09 12:07:14 +02:00
2017-12-31 16:14:23 +01:00
2017-11-24 15:05:35 -03:00
2017-09-22 01:33:22 +02:00
2017-07-16 16:09:17 +01:00