max
2003-07-31 09:22:57 UTC
Hi there,
Overall setup is as follows:
graph (in Graphedit):
compressed data stream capture HW -> custom transform filter -> color space
converter -> video renderer
Graph is not running;
On user request stream format (resolution only) of the source is changed;
GraphEdit reports "Error connecting" - "This format is not currently
available"
This happens since my custom transform filter fails respective
CheckTransform call.
Such behavior can be reproduced with "TestCap Capture" in RGB24 output mode
connected to "color space converter" to renderer at the end.
Surprisingly setting up graph as "TestCap Capture" in UYVY output mode and
connection it directly to video renderer shows desired behavior - resolution
can be changed.
Questions:
- What should I do with my filter's input/output pins and all the down side
of graph to propagate respective change?
- Is it ever possible to have such functionality also for running graph?
Another question (not related to the above stuff):
- I have to pass some additional data (kinda context) from source to filter
with some (not all) mediasamples, but would like to keep it separate from
the main data buffer. The data size is just a couple of DWORDS. Are there
any other possibility as to create one more pin pair on source and filter or
as appending that data to media sample data?
Thanks for reading
Max
Overall setup is as follows:
graph (in Graphedit):
compressed data stream capture HW -> custom transform filter -> color space
converter -> video renderer
Graph is not running;
On user request stream format (resolution only) of the source is changed;
GraphEdit reports "Error connecting" - "This format is not currently
available"
This happens since my custom transform filter fails respective
CheckTransform call.
Such behavior can be reproduced with "TestCap Capture" in RGB24 output mode
connected to "color space converter" to renderer at the end.
Surprisingly setting up graph as "TestCap Capture" in UYVY output mode and
connection it directly to video renderer shows desired behavior - resolution
can be changed.
Questions:
- What should I do with my filter's input/output pins and all the down side
of graph to propagate respective change?
- Is it ever possible to have such functionality also for running graph?
Another question (not related to the above stuff):
- I have to pass some additional data (kinda context) from source to filter
with some (not all) mediasamples, but would like to keep it separate from
the main data buffer. The data size is just a couple of DWORDS. Are there
any other possibility as to create one more pin pair on source and filter or
as appending that data to media sample data?
Thanks for reading
Max