How to get Control Events in MF Transform Decoder ??? RRS feed

  • General discussion

  • Hi All,

    I am preparing a Mpeg2 Decoder MFT. Is there any way i can get events like, Play,Pause and Stop in my decoder MFT.

    I have debugged though but i seem to not getting any call in my IMFTransform::ProcessEvent implementation, which was basically set as E_NOTIMPL in sample decoder MFT.

    ~ Richter

    Monday, October 8, 2012 12:09 PM

All replies

  • IMFTransform::ProcessEvent only receives non-synchronization events, which basically means everything but play, pause, stop, and seek.  It is by design that transforms do not have access to pipeline state information.  When transforms take a dependency on pipeline state rather than processing data according to the transform interface, it almost always leads to problems.
    Thursday, November 8, 2012 8:08 PM