@@ -202,14 +202,14 @@ class CVideoProcessor
202202 virtual void SetRotation (int value) = 0;
203203 bool GetFlip () { return m_bFlip; }
204204 void SetFlip (bool value) { m_bFlip = value; }
205- virtual void SetStereo3dTransform (int value) = 0 ;
205+ virtual void SetStereo3dTransform (int value) {} ;
206206 void SetAllowDeepColorBitmaps (bool value) { m_bAllowDeepColorBitmaps = value; }
207207
208- virtual void ClearPreScaleShaders () = 0 ;
209- virtual void ClearPostScaleShaders () = 0 ;
208+ virtual void ClearPreScaleShaders () {} ;
209+ virtual void ClearPostScaleShaders () {} ;
210210
211- virtual HRESULT AddPreScaleShader (const std::wstring& name, const std::string& srcCode) = 0 ;
212- virtual HRESULT AddPostScaleShader (const std::wstring& name, const std::string& srcCode) = 0 ;
211+ virtual HRESULT AddPreScaleShader (const std::wstring& name, const std::string& srcCode) { return E_NOTIMPL; } ;
212+ virtual HRESULT AddPostScaleShader (const std::wstring& name, const std::string& srcCode) { return E_NOTIMPL; } ;
213213
214214 virtual HRESULT GetCurentImage (long *pDIBImage) = 0;
215215 virtual HRESULT GetDisplayedImage (BYTE **ppDib, unsigned *pSize) = 0;
@@ -225,7 +225,7 @@ class CVideoProcessor
225225
226226 bool GetDoubleRate () { return m_bDoubleFrames; }
227227
228- virtual ISubPicAllocator* GetSubPicAllocator () PURE;
228+ virtual ISubPicAllocator* GetSubPicAllocator () { return nullptr ; }
229229
230230protected:
231231 inline bool SourceIsPQorHLG () {
0 commit comments