Marton Balint
3a09c2122d
avformat/wavdec: dynamically set max_size by default
...
The wav demuxer by default tried to demux 4096-byte packets which caused
packets with very few number of samples for files with high channel count.
This caused a significant overhead especially since the latest ffmpeg.c
threading changes.
So let's use a similar approach for selecting audio frame size which is already
used in the PCM demuxer, which is to read 25 times per second but at most 1024
samples.
Signed-off-by: Marton Balint <cus@passwd.hu >
2024-03-02 19:13:03 +01:00
..
2020-11-07 23:43:26 +10:00
2020-11-07 23:43:26 +10:00
2019-12-21 11:57:28 -03:00
2024-03-02 19:13:03 +01:00
2024-03-02 19:13:03 +01:00
2024-03-02 19:13:03 +01:00
2024-03-02 19:13:03 +01:00
2019-12-21 11:57:28 -03:00
2019-12-21 11:57:28 -03:00
2019-12-21 11:57:28 -03:00
2024-03-02 19:13:03 +01:00
2019-12-21 11:57:28 -03:00
2024-03-02 19:13:03 +01:00
2024-03-02 19:13:03 +01: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
2021-11-05 16:22:04 +01:00
2020-11-12 14:05:43 +02:00
2023-05-02 10:57:21 +02:00
2019-03-14 14:36:24 -03:00
2017-04-09 00:00:39 +01:00
2023-11-09 12:53:35 +01:00
2019-12-21 11:57:28 -03:00
2018-05-08 23:02:58 +02:00
2018-05-08 23:02:58 +02:00
2018-05-08 23:02:58 +02:00
2018-05-08 23:02:58 +02:00
2018-05-08 23:02:58 +02:00
2018-05-08 23:02:58 +02:00
2018-03-29 10:19:03 +02:00
2019-08-23 22:49:01 +02:00
2020-11-12 14:05:43 +02:00
2024-03-02 19:13:03 +01:00
2023-11-09 12:53:35 +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
2019-12-21 11:57:28 -03:00
2023-05-02 10:57:21 +02:00
2023-05-02 10:57:21 +02:00
2023-05-02 10:57:21 +02:00
2016-10-26 02:12:18 +02:00
2016-10-26 02:12:18 +02:00
2017-04-09 00:00:39 +01:00
2022-07-09 21:05:02 +02:00
2019-12-21 11:57:28 -03:00
2022-08-09 19:17:22 +02:00
2023-03-26 01:46:48 +01:00
2022-11-01 09:24:29 +11:00