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

why MF_MT_FRAME_RATE_RANGE_MIN and MF_MT_FRAME_RATE_RANGE_MAX are equal?

$
0
0

I'm writing a simple program to pull every frame from a webcam, but I found these codes

MFGetAttributeRatio(pType, MF_MT_FRAME_RATE_RANGE_MIN, &w, &h); MFGetAttributeRatio(pType, MF_MT_FRAME_RATE_RANGE_MAX, &w, &h);
MFGetAttributeSize(pType, MF_MT_FRAME_SIZE, &w, &h);

give me exact same value on same IMFMediaType, so How can I know the frame rate range of a capture media type?


Viewing all articles
Browse latest Browse all 1079

Trending Articles



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