Fix for QTMOBILITY-1772 VideoWidget example crash on windows
authorLing Hu <ling.hu@nokia.com>
Tue, 19 Jul 2011 00:50:41 +0000 (10:50 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jul 2011 05:09:35 +0000 (07:09 +0200)
commitf0bc3aa8dfcaa334f15d547f1e77e1b94cb49cea
tree69ba2853fa71a31748f3338c4c9fb5edf1f556aa
parent1b1012f2990084ffc367ddb4aaf5910835bc4641
Fix for QTMOBILITY-1772 VideoWidget example crash on windows

The surface format stride calculation in directshow backend is wrong which results in memory access violation.

Change-Id: I80da5affc9a727513bad9c8d74a9f49d0c1a6c0d
Task-number:QTMOBILITY-1772
Reviewed-by:Michael Goddard
(cherry picked from commit 0b010e781634d3b33750fcead445fc7bd3a6f828)
Reviewed-on: http://codereview.qt.nokia.com/2070
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
src/plugins/directshow/player/directshowmediatype.cpp