diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-12-21 21:36:01 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-12-21 21:37:00 +0400 |
commit | 9236124cbd1fb447774f1dd2ed0c74b131d83dd6 (patch) | |
tree | 8b42fdb1cb81429c2d72348bc6de4b32b2c48a62 /decoder/LAVVideo/LAVVideo.h | |
parent | c8721173a21f3f0ef88381ec2202f0a1711e2999 (diff) |
Add options for the tray icons
Diffstat (limited to 'decoder/LAVVideo/LAVVideo.h')
-rw-r--r-- | decoder/LAVVideo/LAVVideo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/decoder/LAVVideo/LAVVideo.h b/decoder/LAVVideo/LAVVideo.h index 21aa8d1a..c2bf83e3 100644 --- a/decoder/LAVVideo/LAVVideo.h +++ b/decoder/LAVVideo/LAVVideo.h @@ -119,6 +119,9 @@ public: STDMETHODIMP SetHWAccelResolutionFlags(DWORD dwResFlags); STDMETHODIMP_(DWORD) GetHWAccelResolutionFlags(); + STDMETHODIMP SetTrayIcon(BOOL bEnabled); + STDMETHODIMP_(BOOL) GetTrayIcon(); + STDMETHODIMP SetDeinterlacingMode(LAVDeintMode deintMode); STDMETHODIMP_(LAVDeintMode) GetDeinterlacingMode(); @@ -177,6 +180,8 @@ private: HRESULT LoadSettings(); HRESULT SaveSettings(); + HRESULT CreateTrayIcon(); + HRESULT CreateDecoder(const CMediaType *pmt); HRESULT GetDeliveryBuffer(IMediaSample** ppOut, int width, int height, AVRational ar, DXVA2_ExtendedFormat dxvaExtFormat, REFERENCE_TIME avgFrameDuration); @@ -262,6 +267,7 @@ private: BOOL m_bRuntimeConfig; struct VideoSettings { + BOOL TrayIcon; DWORD StreamAR; DWORD NumThreads; BOOL bFormats[Codec_VideoNB]; |