Wednesday, August 01, 2007

IVideoWindow Query failed...

windowless Mode using IVideoWindow :
------------------------------------------------------------
m_pVideoWindow->put_Owner() returns E_NOINTERFACE ...
IVideoWindow method's put_Owner() failed...
The reason is after building the filter graph completely , we can call the put_Owner() method ...
In my application I just followed the sequence of steps ...
i) Add the source filter
ii) Set the video Window...
iii) Render the Source filter's output pin
But I am not able to set my video window to the specified control...
The reason is we can set the video window handle only after the video renderer filter is connected to the filter graph.


One More reason is we actually got the IVideoWindow interface from the renderer filter. So without the renderer filter the

Querying of IVideoWindow from the filter graph failed...

No comments: