diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-17 00:57:50 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-17 00:58:23 (GMT) |
commit | de18d264f1ed0cde99fcc0482c55e2999497ce7a (patch) | |
tree | 94cf8801d0d32bd02d7975655eb3a7cbdf5e9442 /src/plugins/mediaservices/gstreamer | |
parent | 65f63b1151378606a482a9df471d5b1a54ace69a (diff) | |
download | Qt-de18d264f1ed0cde99fcc0482c55e2999497ce7a.zip Qt-de18d264f1ed0cde99fcc0482c55e2999497ce7a.tar.gz Qt-de18d264f1ed0cde99fcc0482c55e2999497ce7a.tar.bz2 |
Support YUV444 formats in QPainterVideoSurface.
Diffstat (limited to 'src/plugins/mediaservices/gstreamer')
-rw-r--r-- | src/plugins/mediaservices/gstreamer/qvideosurfacegstsink.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/mediaservices/gstreamer/qvideosurfacegstsink.cpp b/src/plugins/mediaservices/gstreamer/qvideosurfacegstsink.cpp index 3108e1a..a3c7157 100644 --- a/src/plugins/mediaservices/gstreamer/qvideosurfacegstsink.cpp +++ b/src/plugins/mediaservices/gstreamer/qvideosurfacegstsink.cpp @@ -227,7 +227,8 @@ static const YuvFormat qt_yuvColorLookup[] = { QVideoFrame::Format_UYVY, GST_MAKE_FOURCC('U','Y','V','Y'), 16 }, { QVideoFrame::Format_YUYV, GST_MAKE_FOURCC('Y','U','Y','2'), 16 }, { QVideoFrame::Format_NV12, GST_MAKE_FOURCC('N','V','1','2'), 8 }, - { QVideoFrame::Format_NV21, GST_MAKE_FOURCC('N','V','2','1'), 8 } + { QVideoFrame::Format_NV21, GST_MAKE_FOURCC('N','V','2','1'), 8 }, + { QVideoFrame::Format_AYUV444, GST_MAKE_FOURCC('A','Y','U','V'), 32 } }; static int indexOfYuvColor(QVideoFrame::PixelFormat format) |