Confusing message from GraphEdit

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello everybody!

I am facing a strange behaviour of GraphEdit while trying to stop the graph
with my filter.

From GraphEdit I press Run and Pause - works fine. But when I try to stop it
says "GraphEdit cannot complete pause within 10 seconds..." although it
takes it less than a second to display such message, it does not wait for 10
seconds at all!

I've overriden Pause and Stop methods in my filter to see if they are called
when I press Stop, but they are not called. I've written a sample program
that builds the graph and issues Run, Pause and Stop commands via
IMediaControl - they work without problems! Definitely the problem is not
about Pause or Stop and the error message of GraphEdit is confusing.

The only problem I found in my sample program is calling GetState never
returned S_OK, it always returns E_FAIL. Why? What does GraphEdit do inside?
Why does it displays such a confusing message without an attempt to pause or
to stop the graph?

Taras


.



Relevant Pages

  • Re: Confusing message from GraphEdit
    ... GetState to the filter graph I walked thru the list of the filters and asked ... From GraphEdit I press Run and Pause - works fine. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Confusing message from GraphEdit
    ... Here is the description of my graph: ... The last filter is the recompiled Minimal Null-Null transform in place ... The dialog that GraphEdit displays offers two options: ... From GraphEdit I press Run and Pause - works fine. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: WMR9, dual-screen, EC_PAUSED and delay in video playback
    ... graph, the filter graph manager first pauses the graph, if ... filter chain. ... In case anybody else is having the same problem, I've overriden the Pause, ... the renderer somehow cancels the first pause but I'd need to do some more ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: ACM encoder
    ... insert that in the graphedit and connect with async reader. ... In that case the graph is working ... When you set the output format make sure it is exactly as returned by ... Intelligent connect will insert an additional PCM filter if required. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: How to pause/resume playing from within my source filter?
    ... prevent the graph going from pause to run until you are ready. ... In my original post I said that I had a streaming source filter, but it's really more like a streaming capture filter. ... Seems like I would somehow need to know the difference between a graph mandated pause, ...
    (microsoft.public.win32.programmer.directx.video)