cplussharp / graph-studio-next

GraphStudioNext is a tool for developers to build and test DirectShow Graphs
355 stars 94 forks source link

Optional GRFX lines don't work #259

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Save graph as GRFX XML file
2. Edit the GRFX file in a text editor and addd an extra line  <command 
msg="run"/> just before </graph>
3. Load the edited GRFX file

What is the expected output? What do you see instead?

Graph should play straight after loading

Please use labels and text to provide additional information.

Graph gives error that connection can't be made while graph is running because 
the "run" line is currently processed before all filter connections in the GRFX 
have been made.

Original issue reported on code.google.com by mike.cop...@gmail.com on 7 Dec 2014 at 10:45

GoogleCodeExporter commented 9 years ago
Updated by r432 : 
Load optional GRFX flle XML nodes after connections have been
made and display errors if any fail
These nodes are :
"command"
"schedule"
"iamgraphstreams"
"render"

Original comment by mike.cop...@gmail.com on 7 Dec 2014 at 11:10

GoogleCodeExporter commented 9 years ago
We also need to document optional GRFX XML nodes. Not sure where the best place 
to document this is.

Original comment by mike.cop...@gmail.com on 7 Dec 2014 at 11:13