DirectShow - Order of invocation of IAMStreamConfig::SetFormat and ICaptureGraphBuilder2::RenderStream creates issues in some video cameras

后端 未结 1 1184
既然无缘
既然无缘 2021-01-28 02:35

I have to configure my video camera display resolution before capturing and processing the data. Initially I did it as follows.

  1. Created all necessary interfaces

相关标签:
1条回答
  • 2021-01-28 03:13

    IAMStreamConfig::SetFormat needs to be used to set capture format before the pin is connected and rendered. This way the downstream subchain of filters is built with proper media types.

    0 讨论(0)
提交回复
热议问题