• You're right, there is no such error code. Thanks for pointing this out, I will correct the documentation.


    There is no HRESULT that means "bad presentation." Returning MF_E_INVALIDREQUEST should be sufficient.


    In general, a media source does not need to perform a complete validation of the presentation descriptor, because the application is required to use the PD that the source created. Trying to use some other PD is an application bug. You might do a basic "sanity check" inside the Start() method; for example, make sure the caller selected at least one stream, that sort of thing.


    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.



    Wednesday, December 12, 2007 9:02 PM