locked
How to ignore some a MFT's flush operation, after Session::start(...)? RRS feed

  • Question

  • Hi, all:

    For seek operation, I called Session:: start(...), and then Session sent "MFT_MESSAGE_COMMAND_FLUSH" to all of MFT components. For some reason, I need to call Session:: start(...), but not need to trigger "flush" operation for all MFTs .In other words, I want to ignore "Flush" operation for some a MFT, After session:: start(...).Is there any way?

    Saturday, September 8, 2007 10:00 AM

Answers

  • Indeed there is: In the application, set the MF_TOPONODE_FLUSH attribute on that MFT's IMFTopologyNode to the enum value MF_TOPONODE_FLUSH_NEVER.  This means that your MFT will not be flushed across a seek.  (Of course, your MFT needs to be prepared to deal with the fact that timestamps will jump across the seek.)

    Sunday, September 9, 2007 11:41 PM