diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-06 09:55:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-06 10:05:49 +0100 |
commit | 941c5eac1751ef93500d6afa58c4575f777dbff9 (patch) | |
tree | 765c99a830ff56f426d00e6155b1dad21e91269e /server/tests/api | |
parent | 0912f1b4caaa7394516567044f896132ad991131 (diff) | |
download | PeerTube-941c5eac1751ef93500d6afa58c4575f777dbff9.tar.gz PeerTube-941c5eac1751ef93500d6afa58c4575f777dbff9.tar.zst PeerTube-941c5eac1751ef93500d6afa58c4575f777dbff9.zip |
Add missing hotkeys to the watch page
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/videos/video-transcoder.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts index 90ade1652..4be74901a 100644 --- a/server/tests/api/videos/video-transcoder.ts +++ b/server/tests/api/videos/video-transcoder.ts | |||
@@ -292,7 +292,7 @@ describe('Test video transcoding', function () { | |||
292 | tempFixturePath = await generateHighBitrateVideo() | 292 | tempFixturePath = await generateHighBitrateVideo() |
293 | 293 | ||
294 | const bitrate = await getVideoFileBitrate(tempFixturePath) | 294 | const bitrate = await getVideoFileBitrate(tempFixturePath) |
295 | expect(bitrate).to.be.above(getMaxBitrate(VideoResolution.H_1080P, 60, VIDEO_TRANSCODING_FPS)) | 295 | expect(bitrate).to.be.above(getMaxBitrate(VideoResolution.H_1080P, 25, VIDEO_TRANSCODING_FPS)) |
296 | } | 296 | } |
297 | 297 | ||
298 | const videoAttributes = { | 298 | const videoAttributes = { |
@@ -331,7 +331,7 @@ describe('Test video transcoding', function () { | |||
331 | tempFixturePath = await generateHighBitrateVideo() | 331 | tempFixturePath = await generateHighBitrateVideo() |
332 | 332 | ||
333 | const bitrate = await getVideoFileBitrate(tempFixturePath) | 333 | const bitrate = await getVideoFileBitrate(tempFixturePath) |
334 | expect(bitrate).to.be.above(getMaxBitrate(VideoResolution.H_1080P, 60, VIDEO_TRANSCODING_FPS)) | 334 | expect(bitrate).to.be.above(getMaxBitrate(VideoResolution.H_1080P, 25, VIDEO_TRANSCODING_FPS)) |
335 | } | 335 | } |
336 | 336 | ||
337 | for (const fixture of [ 'video_short.mkv', 'video_short.avi' ]) { | 337 | for (const fixture of [ 'video_short.mkv', 'video_short.avi' ]) { |