diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-09-15 13:45:28 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-09-20 18:40:10 +0200 |
commit | 7a177613086393e001b00e33002b3f914f942da1 (patch) | |
tree | 7e0bfa88d15d7539236abc09979b579783812d9c /examples/multimedia/video/qmlvideofx/shaders/blackandwhite.fsh | |
parent | a7acc6bfd4ed492acc6b9de06841ff6e144217c7 (diff) |
Fix QSoundEffect::play()
play() is documented to restart the sound effect when it is
already playing. So enforce that behavior, by calling stop()
unconditionally and then restart the playback. But also make
sure we don't emit the playingChanged() signal in this case.
Task-number: QTBUG-96202
Pick-to: 6.2
Change-Id: Ie0006a50d2d05d12713883fa9a1410ef4c40c817
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/video/qmlvideofx/shaders/blackandwhite.fsh')
0 files changed, 0 insertions, 0 deletions