Maurice Kalinowski 711efc552d winrt: Fix potential crash when querying for resolutions
c84bdf63e4 introduced a potential crash on
Windows Phone as querying for photo resolutions still might return video
properties. As a result, querying for ImageEncodingProperties will fail
and the function returns no resolution at all causing an assert later
on.

Instead of checking for the stream type passed to
getMediaStreamResolutions we have to check for the property type of the
list itself.

Task-number: QTBUG-53714
Change-Id: I7bfc48ebf1fef4f9165135af604ce6c91a418438
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2016-05-31 10:23:00 +00:00
2016-05-23 18:31:50 +00:00
2016-05-04 04:28:10 +00:00
2016-05-10 11:12:21 +00:00
2016-02-08 14:56:13 +01:00
2012-09-03 19:53:28 +02:00
2015-02-12 10:27:47 +00:00
2015-08-13 15:07:55 +02:00
2015-08-13 15:07:55 +02:00
2015-02-12 10:27:47 +00:00
Description
No description provided
17 MiB
Languages
C++ 90.5%
Objective-C++ 5.8%
QMake 1%
Objective-C 0.9%
QML 0.5%
Other 1%