diff options
author | Tim Blechmann <tim@klingt.org> | 2024-04-26 13:57:46 +0800 |
---|---|---|
committer | Tim Blechmann <tim@klingt.org> | 2024-04-30 22:05:44 +0800 |
commit | e78a9e559091db62429ff995cae47b2948304310 (patch) | |
tree | b58eeebd7baaed2cb57cd4a08c58a8923524a1f5 /src/plugins/qnx/common/windowgrabber.h | |
parent | 0dbd692aa3f942067da7ce929b801cb483b9158f (diff) |
The app sources lives on a gstreamer thread. `bufferAvailableChanged`
was called from both application thread and gstreamer thread, which is
not thread safe.
We simplify the application logic by deferring all mutation of the
`QGstreamerAudioDecoder` state to the application thread. This seems to
fix a spurious failure in tst_QAudioDecoderBackend::fileTest
Pick-to: 6.5 6.7
Change-Id: I992c39b071ebd48d5fc5ca28fae499c855b93304
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/plugins/qnx/common/windowgrabber.h')
0 files changed, 0 insertions, 0 deletions