diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-05-31 12:08:10 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-05-31 10:23:00 +0000 |
commit | 711efc552d65f22b262e049c5a046198377519dc (patch) | |
tree | a9b5cf46d787c3a36413aa3ac0887d13057e4aee /dist | |
parent | 52ce26c056be5a65c7afa6097feefeef1576ac21 (diff) |
c84bdf63e4de16586eda3c45d5c3c3b2dc4fe089 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>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions