c++ - Auto detect resolution of preview pin - Directshow -


i have graph displays preview of capture card (avermedia hd dvr pci) window connected ps3 via components. know if there simple way of detecting when resolution of source changes.

for example, ps3, menu displayed @ 1920x1080 (1080i) , when enter game, game changes 1280x720 (720p). set resolution using iamstreamconfig , am_media_type need know when switch resolution. if stay @ 1080i, image 1/4 of entire rectangle showing bad experience.

would solution creating filter , reading bytes of image detect if there data there?

thanks in advance.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -