mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 21:33:52 +02:00
Add explanatory doc comment
This commit is contained in:
+7
-1
@@ -51,7 +51,13 @@ export type FrameRateMetrics = {
|
|||||||
* frame-rate (VFR) video.
|
* frame-rate (VFR) video.
|
||||||
*/
|
*/
|
||||||
underlyingFrameRate: number | null;
|
underlyingFrameRate: number | null;
|
||||||
/** Mediabunny's best guess for the video's actual intended frame rate. */
|
/**
|
||||||
|
* Mediabunny's best guess for the video's actual intended frame rate.
|
||||||
|
*
|
||||||
|
* This value is determined heuristically. If `underlyingFrameRate` exists, this field will be equal to it. If it
|
||||||
|
* doesn't, Mediabunny will check if `medianFrameRate` is close to a "common" frame rate and if so, snap to it.
|
||||||
|
* Otherwise, this field simply falls back to `medianFrameRate`.
|
||||||
|
*/
|
||||||
bestGuessFrameRate: number;
|
bestGuessFrameRate: number;
|
||||||
/**
|
/**
|
||||||
* The minimum frame rate of the video at any given point, based on the largest distance between two
|
* The minimum frame rate of the video at any given point, based on the largest distance between two
|
||||||
|
|||||||
Reference in New Issue
Block a user