aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/Message.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/qml/Message.qml b/qml/Message.qml
index 6346124..cd574c1 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -69,6 +69,7 @@ RowLayout {
MediaPlayer {
id: player
source: Qt.resolvedUrl("file:" + messageObject.message.file)
+ onError: console.log("Audio MediaPlayer error: " + errorString)
}
Label {
font.bold: true
@@ -89,6 +90,7 @@ RowLayout {
MediaPlayer {
id: videoplayer
source: Qt.resolvedUrl("file:" + messageObject.message.file)
+ onError: console.log("Video MediaPlayer error: " + errorString)
}
VideoOutput {
source: videoplayer