diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-12 10:59:51 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-12 15:19:04 +0200 |
commit | d25ed5222aec9e642ac534aea463a91c1952f229 (patch) | |
tree | 751fb0fc3d0174db1d69d5dafedfca0d0932f14d /src/plugins/directshow/player/vmr9videowindowcontrol.h | |
parent | 8849979754d45dc911e10e9b4942615352e5f3a0 (diff) |
DirectShow: Use member initialization
Change-Id: I4e696083c2ed78b374f2df64706ecb2297f122dd
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'src/plugins/directshow/player/vmr9videowindowcontrol.h')
-rw-r--r-- | src/plugins/directshow/player/vmr9videowindowcontrol.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/directshow/player/vmr9videowindowcontrol.h b/src/plugins/directshow/player/vmr9videowindowcontrol.h index 8ab9bd506..c814c2c85 100644 --- a/src/plugins/directshow/player/vmr9videowindowcontrol.h +++ b/src/plugins/directshow/player/vmr9videowindowcontrol.h @@ -91,16 +91,16 @@ private: IVMRMixerControl9 *control, VMR9ProcAmpControlFlags property, int value) const; IBaseFilter *m_filter; - WId m_windowId; - COLORREF m_windowColor; - DWORD m_dirtyValues; - Qt::AspectRatioMode m_aspectRatioMode; + WId m_windowId = 0; + COLORREF m_windowColor = RGB(0, 0, 0); + DWORD m_dirtyValues = 0; + Qt::AspectRatioMode m_aspectRatioMode = Qt::KeepAspectRatio; QRect m_displayRect; - int m_brightness; - int m_contrast; - int m_hue; - int m_saturation; - bool m_fullScreen; + int m_brightness = 0; + int m_contrast = 0; + int m_hue = 0; + int m_saturation = 0; + bool m_fullScreen = false; }; QT_END_NAMESPACE |