Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

How to tear down the topology connection in media foundation and change video resolution in vc++?

$
0
0

Hi,

I'm working on media foundation to show preview from USB camera.I used Media Session to show preview.I built partial  topology such as follows : Video Capture Device(Source node)->EVR renderer(Output node)

I enumerated supported video resolution using presentation descriptor. Now i want to change video resolution and format.Before change video resolution,

     1)Stop the preview

     2) I want to remove only the connection between source node and output node.

     3) After set the format,Reconnect it and start streaming.

Above 3 steps i have to do it in media foundation.

In directshow,we used to enumerate no. of Pins available and removing it one by one.How do i it in media foundation?

I am new to media foundation.I am struggling with this issue for past 3 days.Please help me out from this issue.

Thanks in advance.



Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>