public java . util . Collection < Rational > getSupportedVideoFrameRates ( ) { java . util . List < Rational > retval = new java . util . LinkedList < Rational > ( ) ; int count = getNumSupportedVideoFrameRates ( ) ; for ( int i = 0 ; i < count ; i ++ ) { Rational rate = getSupportedVideoFrameRate ( i ) ; if ( rate != null ) retval . add ( rate ) ; } return retval ; }
Returns a list of supported frame - rates this codec can encode video to .