diff options
author | Tim Blechmann <tim@klingt.org> | 2024-04-18 17:38:57 +0800 |
---|---|---|
committer | Tim Blechmann <tim@klingt.org> | 2024-04-24 11:17:15 +0800 |
commit | 588cd8f7763346e48a6ca5660b244f5bc2fce1e5 (patch) | |
tree | 9f6896ba6265639a80039b7cd2256386731b6dd6 /src/multimedia/audio/qaudioformat.h | |
parent | 3e1bc1b76dae91d957fd1a1861d62ec79ca0a0db (diff) |
GStreamer: media player - ensure semantics of media status
* Loaded/LoadingMedia should only occur during when StoppedState
* Buffered/BufferingMedia should not occur during StoppedState
furthermore, not all decoderbin pipelines contain queues, so we need to
count the queue elements that decoderbin could potentially add and that
could send us GST_MESSAGE_BUFFERING messages. If there is no queue
element that could do any buffering, the BufferingMedia will not be
reached.
Fixes: QTBUG-124414
Fixes: QTBUG-124415
Pick-to: 6.5 6.7
Change-Id: I6f89e607157250d7e1a777d57ec1df51cf462fc1
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/multimedia/audio/qaudioformat.h')
0 files changed, 0 insertions, 0 deletions