diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-14 23:34:03 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-01-29 13:42:15 +0100 |
commit | 06bcfbd9f715055f2f00bb66149b1dba926d007a (patch) | |
tree | 253059fe56f9c1ab818ab60b4871a67a945b229f /shared | |
parent | 0539dba824bc3b964faaba358d8e7836e006b899 (diff) | |
download | PeerTube-06bcfbd9f715055f2f00bb66149b1dba926d007a.tar.gz PeerTube-06bcfbd9f715055f2f00bb66149b1dba926d007a.tar.zst PeerTube-06bcfbd9f715055f2f00bb66149b1dba926d007a.zip |
Downsample to the closest divisor standard framerate
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/video-transcoding-fps.model.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/shared/models/videos/video-transcoding-fps.model.ts b/shared/models/videos/video-transcoding-fps.model.ts index 82022d2f1..25fc1c2da 100644 --- a/shared/models/videos/video-transcoding-fps.model.ts +++ b/shared/models/videos/video-transcoding-fps.model.ts | |||
@@ -1,6 +1,8 @@ | |||
1 | export type VideoTranscodingFPS = { | 1 | export type VideoTranscodingFPS = { |
2 | MIN: number, | 2 | MIN: number |
3 | AVERAGE: number, | 3 | STANDARD: number[] |
4 | MAX: number, | 4 | HD_STANDARD: number[] |
5 | AVERAGE: number | ||
6 | MAX: number | ||
5 | KEEP_ORIGIN_FPS_RESOLUTION_MIN: number | 7 | KEEP_ORIGIN_FPS_RESOLUTION_MIN: number |
6 | } | 8 | } |