diff --git a/aegisub/fft.cpp b/aegisub/fft.cpp index 8e5ed215a..3d6582685 100644 --- a/aegisub/fft.cpp +++ b/aegisub/fft.cpp @@ -93,15 +93,15 @@ void FFT::DoTransform (size_t n_samples,float *input,float *output_r,float *outp ai[2] = sm2; for (j=i,n=0;n m_pR; - CComPtr m_pGC; - CComPtr m_pGS; - HANDLE m_hFrameReady; - bool m_registered; - DWORD m_rot_cookie; - -public: - DirectShowVideoProvider(wxString _filename, double _fps=0.0); - ~DirectShowVideoProvider(); - - void RefreshSubtitles(); - - const AegiVideoFrame DoGetFrame(int n); - void GetFloatFrame(float* Buffer, int n); - - int GetPosition() { return last_fnum; }; - int GetFrameCount() { return num_frames; }; - double GetFPS() { return fps; }; - int GetWidth() { return width; }; - int GetHeight() { return height; }; - wxString GetDecoderName() { return _("DirectShow"); } - - void OverrideFrameTimeList(wxArrayInt list); -}; - - - -/////////// -// Factory -class DirectShowVideoProviderFactory : public VideoProviderFactory { -public: - VideoProvider *CreateProvider(wxString video,double fps=0.0) { return new DirectShowVideoProvider(video,fps); } - DirectShowVideoProviderFactory() : VideoProviderFactory(_T("dshow")) {} -} registerDShow; - - - /////////////// // Constructor // Based on Haali's code for DirectShowSource2