How to assign a media sample as a key frame in MFT. RRS feed

  • Question

  • When we are developping DMO, we can assign a sample as a synchronization point by set the "DMO_OUTPUT_DATA_BUFFERF_SYNCPOINT"

    But when we are developping MFT, how can we assign a sample as a synchronization point? I can't find any functions in the IMFSample interface.

    Could you help me?


    Friday, January 5, 2007 5:07 AM


  • Set the MFSampleExtension_CleanPoint attribute on the sample:

        pSample->SetUINT32(MFSampleExtension_CleanPoint, TRUE);


    Mike Wasson, SDK Documentation
    This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

    (c) 2007 Microsoft Corporation. All rights reserved.


    Friday, January 5, 2007 6:53 PM