Commit 9649a6ed authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

DirectShow: Change parameter of qt_evr_pixelFormatFromD3DFormat() to DWORD


Fixes g++ warnings:
..\common\evr\evrhelpers.cpp: In function 'QVideoFrame::PixelFormat qt_evr_pixelFormatFromD3DFormat(D3DFORMAT)':
..\common\evr\evrhelpers.cpp:143:5: warning: case value '842094158' not in enumerated type 'D3DFORMAT {aka _D3DFORMAT}' [-Wswitch]
     case D3DFMT_NV12:
..\common\evr\evrhelpers.cpp:145:5: warning: case value '842094169' not in enumerated type 'D3DFORMAT {aka _D3DFORMAT}' [-Wswitch]
     case D3DFMT_YV12:

Change-Id: I11869144b34d848bd68434d3a062852608518978
Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
Showing with 3 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment