MFCreateAggregateSource - E_INVALIDARG RRS feed

  • Question

  • I'm trying to create an aggregate source from two sources - one with 1 video stream and another with 1 audio stream, but get the E_INVALIDARG error. The documentation states that MFCreateAggregateSource returns E_INVALIDARG if the source collection is empty, but it is definitely not empty. I check its size and iterate over elements right before the call, all are valid sources.

    Are there any other cases where MFCreateAggregateSource returns E_INVALIDARG? Both sources work fine by themselves.

    Friday, June 24, 2016 1:53 PM

All replies

  • The question does not seem complete. The API is working on its own. If something breaks it, then it should be specifics of the sources and their implementation. You should investigate this further and/or provide details here.


    Saturday, June 25, 2016 9:38 AM