diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2023-05-11 13:48:08 +0200 |
---|---|---|
committer | Artem Dyomin <artem.dyomin@qt.io> | 2023-05-11 14:04:26 +0000 |
commit | fd36e52f5ead74347e6d087b31bffe698e72be27 (patch) | |
tree | 6490bb4e99ef63e0f327d90c06b7df7bca5930ee | |
parent | 0a6f667a5476029ae7dd3544f8750e13678cbf29 (diff) | |
download | qtmultimedia-fd36e52f5ead74347e6d087b31bffe698e72be27.tar.gz |
Remove not actual resampler's setting
The "async" option was relevant for the old implementation,
but now it just makes problems, namely, by making internal buffering
too high, and the actual output size could be very different with
the expected one, what can cause a weird behavior.
Pick-to: 6.5
Change-Id: I4637d02e7f5e321fb3f674a386ef43667ed9cda9
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
-rw-r--r-- | src/plugins/multimedia/ffmpeg/qffmpegresampler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/multimedia/ffmpeg/qffmpegresampler.cpp b/src/plugins/multimedia/ffmpeg/qffmpegresampler.cpp index ecb650f9d..7b06c591a 100644 --- a/src/plugins/multimedia/ffmpeg/qffmpegresampler.cpp +++ b/src/plugins/multimedia/ffmpeg/qffmpegresampler.cpp @@ -60,8 +60,6 @@ Resampler::Resampler(const Codec *codec, const QAudioFormat &outputFormat) 0, nullptr); #endif - // if we're not the master clock, we might need to handle clock adjustments, initialize for that - av_opt_set_double(resampler, "async", m_outputFormat.sampleRate()/50, 0); swr_init(resampler); } |