summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-18 14:42:35 +0100
committerLars Knoll <lars.knoll@qt.io>2021-04-06 08:08:40 +0000
commitf67cea4dd9c2ba44c85267962655235c6143a966 (patch)
tree4590d90f6f37e21a37cdd05c8e5d55193365b67e /src/multimedia/video
parent782711418999c8e1f5914e805124ba7014687f93 (diff)
Fix QML video rendering
Use the new QVideoSink class to get the video frames. Fix some APIs, so that we correctly connect VideoOutput and MediaPlayer. Change-Id: I65a0d045988c46a917f70dfb922c1bbdb32f6511 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/video')
-rw-r--r--src/multimedia/video/qvideosink.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideosink.cpp b/src/multimedia/video/qvideosink.cpp
index 931a4e5ab..c5ed5301c 100644
--- a/src/multimedia/video/qvideosink.cpp
+++ b/src/multimedia/video/qvideosink.cpp
@@ -84,6 +84,7 @@ QVideoSink::QVideoSink(QObject *parent)
: QObject(parent),
d(new QVideoSinkPrivate(this))
{
+ qRegisterMetaType<QVideoFrame>();
}
QVideoSink::~QVideoSink()