diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2011-11-08 17:41:00 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-09 01:24:18 +0100 |
commit | 8ff4148342600ebc65b63be6417250c06c9e05b5 (patch) | |
tree | 376c2373157bd4284269b4448dfa8550101acb12 /src/multimedia/video/qvideoframe.cpp | |
parent | a8be7b6053b836aba27421450161408f2ad7a1e1 (diff) |
Add qRegisterMetaTypes for the public Q_DECLARE_METATYPEs.
Also turned qtmedianamespace.qdoc into a cpp file so I
could stick the qRegisterMetaTypes into it.
Change-Id: Idd6d3e2f348f1ed45b0a35ce180d023a170e8625
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/multimedia/video/qvideoframe.cpp')
-rw-r--r-- | src/multimedia/video/qvideoframe.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/multimedia/video/qvideoframe.cpp b/src/multimedia/video/qvideoframe.cpp index d18f4875f..fdbe75080 100644 --- a/src/multimedia/video/qvideoframe.cpp +++ b/src/multimedia/video/qvideoframe.cpp @@ -61,7 +61,9 @@ class QVideoFramePrivateRegisterMetaTypes public: QVideoFramePrivateRegisterMetaTypes() { - qRegisterMetaType<QVideoFrame::PixelFormat>("QVideoFrame::PixelFormat"); + qRegisterMetaType<QVideoFrame>(); + qRegisterMetaType<QVideoFrame::FieldType>(); + qRegisterMetaType<QVideoFrame::PixelFormat>(); } } _registerMetaTypes; } |