Chris Sloan
Guest
|
Posted:
Tue Oct 12, 2004 8:11 pm Post subject:
Directly hosting WMV DMO |
|
|
I am trying to manually use the WMV decoder DMO for simple playback of wmv3
clips and am having no success. Currently, I am testing in DirectShow by
adding my DMO code in a filter that should work like the WMV Decoder filter.
I am able to build the graph but I can not get the DMO to process input
samples (it always returns S_FALSE no matter how much data I input). My test
graph looks like this: File Source (wmv3 clip)->My WMV Decoder filter->VMR.
Is something missing from my DMO init logic? My steps are
CoCreateInstance(CLSID_CWMVDecMediaObject), SetInputType, SetOutputType (all
of which succeed). I am passing the exact input media type to the DMO that I
received from the source filter and passing one of the output media types to
the DMO I received from IMediaObject::GetOutputType.
|
|