diff options
author | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-05-28 16:40:08 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-05-29 11:09:17 +0000 |
commit | aeb79d4a8bcb291822d74d923f7e68fb02ce96fe (patch) | |
tree | 58038483c9eb2244d75d5acf3357dd15c1449bd1 /.gitattributes | |
parent | 8143aff1b293501f2ea37b98affbadd936e55f9b (diff) |
AVFoundation: fix default camera viewfinder pixel format.
It was hardcoded to ARGB32, which is not a good idea, at least on iOS
where the necessary conversion is slow.
We now pick the QAbstractVideoSurface's preferred format, or if no
surface is set, we pick the default from AVFoundation.
As a result, the QML VideoOutput will now always use the NV12 format.
Change-Id: I65205c706455502883b8098f0b5c0577b4106e01
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions