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
..
2014-06-06 18:03:31 +02:00
2014-06-05 12:20:49 +02:00
2014-06-05 12:20:49 +02:00
2016-10-26 02:12:18 +02:00
2016-10-26 02:12:18 +02:00
2014-06-05 12:20:49 +02:00
2014-04-14 17:43:25 +02:00
2015-04-22 14:16:35 +02:00
2014-04-30 16:41:35 +02:00
2014-04-30 16:41:35 +02:00
2017-03-14 23:37:28 +01:00
2018-03-10 17:55:50 +01:00
2017-03-14 23:37:28 +01:00
2017-10-30 01:09:40 +01:00
2018-03-13 01:34:42 +01:00
2015-06-28 10:16:40 +02:00
2016-06-03 12:18:57 +02:00
2015-03-19 17:30:28 +01:00
2013-01-08 18:47:09 +00:00
2016-10-26 02:12:18 +02:00
2013-04-18 00:24:25 +02:00
2014-06-06 22:54:22 +02:00
2017-04-09 00:00:39 +01:00
2016-10-15 20:48:03 -03:00
2014-03-16 16:26:35 +01:00
2013-04-25 10:13:27 +02:00
2018-03-13 01:34:42 +01:00
2015-11-10 23:27:51 +01:00
2017-12-03 21:06:47 +01:00
2017-09-18 08:56:52 +02:00
2017-09-18 08:56:52 +02:00
2015-03-23 22:09:46 +01:00
2015-11-10 23:27:51 +01:00
2015-01-27 09:15:07 +01:00
2014-05-18 22:57:20 +02:00
2016-06-22 15:24:19 +02:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2016-06-22 15:24:19 +02:00
2013-01-08 18:47:09 +00:00
2016-06-22 15:24:19 +02:00
2015-11-29 15:42:33 +01:00
2013-01-08 18:47:09 +00:00
2013-01-08 18:47:09 +00:00
2017-03-14 23:37:28 +01:00
2016-04-10 20:59:55 +01:00
2014-04-30 16:41:35 +02:00
2014-06-06 22:54:22 +02:00
2016-03-03 09:28:15 +01:00
2017-03-14 23:37:28 +01:00
2018-03-10 17:55:50 +01:00
2018-03-10 17:55:50 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2016-07-24 12:31:07 +02:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2015-03-19 17:30:28 +01:00
2016-10-26 02:12:18 +02:00
2016-10-26 02:12:18 +02:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2017-04-09 00:00:39 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2014-12-02 03:02:30 +01:00
2015-05-10 14:19:56 +02:00
2015-03-19 17:30:28 +01:00
2014-12-02 03:02:30 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00
2015-03-19 17:30:28 +01:00