DirectShow filter issue
-
Hi everyone. I'm coding a source filter and a demultiplexer filter for DirectShow. When I add the filters to the graph, connect the pins and render the whole thing it still works. But when I run the graph via IMediaControl::Run it returns S_FALSE. The SDK says that I should use IMediaControl::GetState after Run() has failed, but GetState() does never return when I have INFINITE as timeout, else it returns an error (VFW_S_STATE_INTERMEDIATE), too. The graph uses Push-Mode. Is there a way I can find out what is going wrong? Thanks for advice, Alex Don't try it, just do it! ;-)
-
Hi everyone. I'm coding a source filter and a demultiplexer filter for DirectShow. When I add the filters to the graph, connect the pins and render the whole thing it still works. But when I run the graph via IMediaControl::Run it returns S_FALSE. The SDK says that I should use IMediaControl::GetState after Run() has failed, but GetState() does never return when I have INFINITE as timeout, else it returns an error (VFW_S_STATE_INTERMEDIATE), too. The graph uses Push-Mode. Is there a way I can find out what is going wrong? Thanks for advice, Alex Don't try it, just do it! ;-)
Problem solved. It's a live source, so there are some things different from a normal pull source. Don't try it, just do it! ;-)