diff options
author | André de la Rocha <andre.rocha@qt.io> | 2021-12-10 18:37:56 +0100 |
---|---|---|
committer | André de la Rocha <andre.rocha@qt.io> | 2021-12-17 15:48:17 +0100 |
commit | 6144b257499d30248952078654420de6cfc63875 (patch) | |
tree | 8df9a43df3bd9b87fe0dbc12803e489921771646 /examples/multimedia/audiosource/audiosource.h | |
parent | 8a61b03f32590ca64fd12f16fbc005c4b6e83651 (diff) |
Add the errorOccurred() signal to the Video qml type
The errorOccurred() signal is now forwarded from MediaPlayer to Video,
to allow proper detection of video loading/playing errors. Qml apps can
use a signal handler like the following within a Video element:
onErrorOccurred: function(error, errorString) {
console.log("Error", error, ":", errorString);
}
Fixes: QTBUG-97780
Change-Id: I121576be9046481fb72ecaae65be3866991380bb
(cherry picked from commit 5a21539eb2527fc436d1f1a212d9e7d021996355)
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/audiosource/audiosource.h')
0 files changed, 0 insertions, 0 deletions