locked
MESessionTopologySet with error RRS feed

  • Question

  • I have created a topology .I get a MESessionTopologySet event with E_NOINTERFACE in IMFMediaEvent->GetStatus.the source is a custom source, also the sink is also custom.Am using H264 encoder MFT in between. How should I go about it.                                                                                                                         

    Does Media Foundation not give any error while connecting the source to MFT to Sink?

    Wednesday, June 29, 2011 12:44 PM

All replies

  • MF_TOPONODE_ERRORCODE will help diagnose at exactly which connection point the error ocurred.  Common things to check:

    (1) Each source stream node should include three attributes: MF_TOPONODE_SOURCE, an IMFMediaSource, MF_TOPNOODE_PRESENTATION_DESCRIPTOR, an IMFPresentationDescriptor, and MF_TOPONODE_STREAM_DESCRIPTOR, an IMFStreamDescriptor.

    (2) Each output node should have an object set on it using IMFTopologyNode::SetObject that either implements IMFActivate or IMFStreamSink.  An output node does not get an IMFMediaSink.

    Monday, August 1, 2011 7:22 PM