OdessaGUIProject.Workers.AvidStudioExportWorker.CalculateTimebase C# (CSharp) Method

CalculateTimebase() private static method

private static CalculateTimebase ( double framesPerSecond ) : int
framesPerSecond double
return int
        private static int CalculateTimebase(double framesPerSecond)
        {
            // based on https://developer.apple.com/library/mac/#documentation/AppleApplications/Reference/FinalCutPro_XML/FrameRate/FrameRate.html#//apple_ref/doc/uid/TP30001158-TPXREF103
            return (int)Math.Round(framesPerSecond, 0);
        }