Unable to Stop a graph
From: Alain (alain_au_travail_at_hotmail.com)
Date: 10/06/04
- Next message: Thore Karlsen [MVP DX]: "Re: VMR7 and VMR9 meaningless "Maintain aspect ratio" option"
- Previous message: Michael Chen: "Re: VMR7 and VMR9 meaningless "Maintain aspect ratio" option"
- Next in thread: Thore Karlsen [MVP DX]: "Re: Unable to Stop a graph"
- Reply: Thore Karlsen [MVP DX]: "Re: Unable to Stop a graph"
- Reply: Geraint Davies: "Re: Unable to Stop a graph"
- Messages sorted by: [ date ] [ thread ]
Date: 5 Oct 2004 18:39:49 -0700
Hi,
I wrote code to programmaticaly build a filter graph to play MPEG-2
files to a DDraw Exclusive mode surface, through the Overlay mixer:
Filters:
File -> MPEG-2 Demux -> MPEG-2 Video Decoder -> Overlay Mixer
As MPEG-2 video decoder, I am using the ULead, uldsmpeg.ax filter.
With such graph, if I interrupt the video with a call to
IMediaControl::Stop(), then this call blocks and never returns. The
Stop call is made from the app WindowProc, which receives the keyboard
input from user requesting to stop the video.
This same video interruption mechanism works fine with other types of
files (using similar filter graph) - using other video decoder
filters: AVI, MPEG-1 .
For a test, I built a similar graph in GraphEdit, using the same
MPEG-2 filter.
Filters:
File -> MPEG-2 Demux -> MPEG-2 Video Decoder -> Video Renderer
I have no problem Pausing/Stopping this graph within GraphEdt.
Any clue ? Could the problem be related to the fact that DDraw
Exclusive mode is used in combinaison with this ULead MPEG-2 decoder I
am using ? Seems to me the video decoder should not be influenced by
the rendering method (downstream).
Thanks,
Alain
- Next message: Thore Karlsen [MVP DX]: "Re: VMR7 and VMR9 meaningless "Maintain aspect ratio" option"
- Previous message: Michael Chen: "Re: VMR7 and VMR9 meaningless "Maintain aspect ratio" option"
- Next in thread: Thore Karlsen [MVP DX]: "Re: Unable to Stop a graph"
- Reply: Thore Karlsen [MVP DX]: "Re: Unable to Stop a graph"
- Reply: Geraint Davies: "Re: Unable to Stop a graph"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|