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/qvideosurfaceformat.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/qvideosurfaceformat.cpp')
-rw-r--r-- | src/multimedia/video/qvideosurfaceformat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideosurfaceformat.cpp b/src/multimedia/video/qvideosurfaceformat.cpp index 98556cd8b..d70244cb2 100644 --- a/src/multimedia/video/qvideosurfaceformat.cpp +++ b/src/multimedia/video/qvideosurfaceformat.cpp @@ -57,6 +57,8 @@ namespace QVideoSurfaceFormatPrivateRegisterMetaTypes() { qRegisterMetaType<QVideoSurfaceFormat>(); + qRegisterMetaType<QVideoSurfaceFormat::Direction>(); + qRegisterMetaType<QVideoSurfaceFormat::YCbCrColorSpace>(); } } _registerMetaTypes; } |