View Full Version : NetworkSource

September 4, 2004, 23:04:19

I have a filter that contains a NetworkSource component which receives a video stream from a NewtrokRenderer component. If the Video Stream format or size changes the NetworkSource component still thinks that it is receiving the old format/size. How do I keep the NetworkSource & Renderer in sync as far as the format/size of the stream is concerned. I have tried unloading the graph and restarting it but that did not do anything. The only way I get it to work is by Open the graph that contains the network source . Disconnecting all pins and reconnecting them again.

Help !!

Thank you ..

Marc Cymontkowski
September 6, 2004, 17:13:01

We are thinking about a better solution for this issue, for now you can do the following:

1) Reload the MVP file using the Smart Control
2) If the OnOutputPinConnected() event of the Smart Control is called with parameter FilterLabel == "MV Network Source", block the event and poll the Status property of the network source filter. After the status is set to MV_NETWORK_STATUS_RECEIVE_MEDIATYPE, unblock the event so that the Smart Control proceeds to build the configuration.

I hope this helps!

Best Regards,

Marc Cymontkowski

September 6, 2004, 17:35:46
Thank you Marc,


Gaetan Siry