I'm writing a simple program to pull every frame from a webcam, but I found these codes
give me exact same value on same IMFMediaType, so How can I know the frame rate range of a capture media type?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);