]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
Change how we handle resolution
authorChocobozzz <florian.bigard@gmail.com>
Mon, 9 Oct 2017 09:06:13 +0000 (11:06 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Mon, 9 Oct 2017 09:17:36 +0000 (11:17 +0200)
commit14d3270f363245d2c83fcc2ac109e39743b5627e
tree22a1d40675d372d53c35a4d7adf1fc1b4ceb1799
parentaa8b6df4a51c82eb91e6fd71a090b2128098af6b
Change how we handle resolution

It was an enum before, now we just use video height
18 files changed:
config/production.yaml.example
server/controllers/api/videos/index.ts
server/helpers/custom-validators/videos.ts
server/helpers/ffmpeg-utils.ts [new file with mode: 0644]
server/helpers/index.ts
server/helpers/utils.ts
server/initializers/constants.ts
server/initializers/migrations/0075-video-resolutions.ts
server/middlewares/validators/videos.ts
server/models/user/user.ts
server/models/video/video-interface.ts
server/models/video/video.ts
server/tests/api/multiple-pods.ts
server/tests/api/single-pod.ts
server/tests/api/video-transcoder.ts
server/tests/cli/update-host.ts
server/tests/utils/videos.ts
shared/models/videos/video-resolution.enum.ts