Help: How to use sample code "cudaDecodeGL" to display any frame rate?

Hi, this is probably a silly question. Is there an easy way to display any frame rate of the decoded video using “cudaDecodeGL” sample code? Or description of some mechanism?

Rgds, MathCoder