WMF: report the surface's supported formats in the correct order.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Thu, 12 Mar 2015 14:56:01 +0000 (15:56 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 24 Mar 2015 16:03:13 +0000 (16:03 +0000)
commit4f7e5bf169868dfd0428a7f966e51dcac5a50178
tree4b0728a72f5456cc30f5d16fdad5993f2c22d5b4
parent7e9520e8d39f584b4405d7670fe6aa734e7b4fdb
WMF: report the surface's supported formats in the correct order.

QAbstractVideoSurface::supportedFormats() returns the formats in
descending order of preference while IMFMediaTypeHandler expects the
list to be in ascending order.

Change-Id: I0ecb5a3b228c0cad78c1a84091e3c3cf272f7ebc
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/plugins/wmf/player/mfvideorenderercontrol.cpp