I am building a graph using ICaptureGraphBuilder2 in my directshow code.
I am adding instance of my camera and a VMR9 renderer to the graph and I try to intelligent connect it using RenderStream API using capture pin and format MEDIATYPE_video implemented.
If I use ROT to export the resultant graph built, I can see a smarttee filter, decompressor filter and a color space converter filter in between my source and render filters.
But in Graphedit, I build my own graph with the same source and render filters and try to intelligent connect it using rightclick->renderpin in my capture pin, no intermediates are getting added.
Why is this weird behavior ?
It is behavior by design,
IGraphBuilder::Render
vs.ICaptureGraphBuilder2::RenderStream
. MSDN has the differences documented: