summaryrefslogtreecommitdiffstats
path: root/src/gsttools/qgstreamerbushelper_p.h
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2019-01-23 12:24:05 +0100
committerTomasz Olszak <olszak.tomasz@gmail.com>2019-01-29 14:59:23 +0000
commit3c82c2e45c8395b78b3a98db2d9a5364b191edb9 (patch)
tree210896f7a902b855355c43e2db319e39e12dc409 /src/gsttools/qgstreamerbushelper_p.h
parent488224dcbf84e49cc8dca3765210a0cd31d295ba (diff)
Make QPulseAudioOutput::elapsedUSecs prone to OS time change
Pulseaudio implementation of QAudioOutput used QTime as time counter. Hence when output was started and timezone or time has changed the QAudioOutput::elapsedUSecs() returned faulty values. It happened because QTime::elapsed is undefined after system clock update. Using QElapsedTimer instead of QTime seems safer. Change-Id: I1f0c27deea550f249e2ccad0fc716b95a32608ae Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/gsttools/qgstreamerbushelper_p.h')
0 files changed, 0 insertions, 0 deletions