Ignore:
Timestamp:
12/14/07 00:22:01 (16 years ago)
Author:
radscorpion
Message:

MPC Demux works. Right now it can only be used with Dump filter, because
it accepts any mediatype.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dsfilters/demux_mpc/src/mpc_filter.h

    r366 r368  
    2020class CMPCDemux :
    2121        public CBaseFilter,
    22         public ISpecifyPropertyPages ,
    23         public IMusepackSplitter
     22        public CAMThread,
     23        public ISpecifyPropertyPages,
     24        public IMusepackSplitter,
     25        public IMediaSeeking
    2426{
    2527public:
     
    3234        CMPCFile                                        *file;
    3335        HWND                                            wnd_prop;
     36
     37        CAMEvent                                        ev_abort;
     38
     39        // times
     40        REFERENCE_TIME                          rtCurrent;
     41        REFERENCE_TIME                          rtStop;
     42        double                                          rate;
     43
    3444
    3545public:
     
    6070        virtual HRESULT BreakConnect(PIN_DIRECTION Dir, CBasePin *pCaller);
    6171        virtual HRESULT CompleteConnect(PIN_DIRECTION Dir, CBasePin *pCaller, IPin *pReceivePin);
     72        virtual HRESULT ConfigureMediaType(CMPCOutputPin *pin);
    6273
     74        // Demuxing thread
     75        virtual DWORD ThreadProc();
    6376
    6477        // IMusepackSplitter
     
    6679        STDMETHODIMP SetPropertyPageWindow(HWND wnd);
    6780
     81        // activate / deactivate filter
     82        STDMETHODIMP Pause();
     83        STDMETHODIMP Stop();
    6884
    6985        // IMediaSeeking
    70         /*
    7186        STDMETHODIMP GetCapabilities(DWORD* pCapabilities);
    7287        STDMETHODIMP CheckCapabilities(DWORD* pCapabilities);
     
    86101        STDMETHODIMP GetRate(double* pdRate);
    87102        STDMETHODIMP GetPreroll(LONGLONG* pllPreroll);
     103
    88104        STDMETHODIMP SetPositionsInternal(int iD, LONGLONG* pCurrent, DWORD dwCurrentFlags, LONGLONG* pStop, DWORD dwStopFlags);
    89105
    90         // virtual HRESULT DoNewSeek();
    91         */
     106        virtual HRESULT DoNewSeek();
    92107
    93108};
Note: See TracChangeset for help on using the changeset viewer.