winrt: Fix encoding properties
authorAndrew Knight <andrew.knight@digia.com>
Fri, 5 Dec 2014 08:26:32 +0000 (10:26 +0200)
committerAndrew Knight <andrew.knight@theqtcompany.com>
Thu, 11 Dec 2014 15:48:54 +0000 (16:48 +0100)
commit1027215920ded41b0e381b0ab740fb8a75c66a62
treef476b98abd0855f4bd06be548d081e2251990642
parent791febc1d3bfc1ec39f4379214ec5fb473ddaeb5
winrt: Fix encoding properties

These should match the capture mode. Additionally, there was a semantic
error preventing the encoding properties from being properly selected.
This fixes a bug in which the viewfinder was receiving frames too large
for display as an OpenGL texture.

Task-number: QTBUG-41065
Change-Id: Ia82c8f44bba1692a219edc5f9d78fc76c3d8a4ba
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
src/plugins/winrt/qwinrtcameracontrol.cpp