Still image importer - how to figure frame rate
Hi, I am developing still image importer and I am confused how to compute frame number in asynchronous aiInitiateAsyncRead method. Theoretically, it should be something like imSourceVideoRec.inFrameTime / ticksPerFrame. I can use GetTicksPerVideoFrame() to figure out ticks count per some specific framerate, but how do I figure out which framerate is used? (users can change framerate that is used in "settings - media - indeterminate media timebase" and I don't want to provide incorrect frames...)
Is this information provided somewhere along lifycycle of importer and I just didn't noticed it? Or am I using completely wrong approach?