mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Rename deprecated ffmpeg vsync arg to fps_mode (#38198)
This commit is contained in:
@@ -60,6 +60,7 @@ Mastodon is a **free, open-source social network server** based on [ActivityPub]
|
|||||||
- **PostgreSQL** 14+
|
- **PostgreSQL** 14+
|
||||||
- **Redis** 7.0+
|
- **Redis** 7.0+
|
||||||
- **Node.js** 20+
|
- **Node.js** 20+
|
||||||
|
- **FFmpeg** 5.1+
|
||||||
|
|
||||||
This repository includes deployment configurations for **Docker and docker-compose**, as well as for other environments like Heroku and Scalingo. For Helm charts, reference the [mastodon/chart repository](https://github.com/mastodon/chart). A [**standalone** installation guide](https://docs.joinmastodon.org/admin/install/) is available in the main documentation.
|
This repository includes deployment configurations for **Docker and docker-compose**, as well as for other environments like Heroku and Scalingo. For Helm charts, reference the [mastodon/chart repository](https://github.com/mastodon/chart). A [**standalone** installation guide](https://docs.joinmastodon.org/admin/install/) is available in the main documentation.
|
||||||
|
|
||||||
|
|||||||
@@ -51,10 +51,7 @@ module Paperclip
|
|||||||
@output_options['maxrate'] = bitrate + 192_000
|
@output_options['maxrate'] = bitrate + 192_000
|
||||||
@output_options['bufsize'] = bitrate * 5
|
@output_options['bufsize'] = bitrate * 5
|
||||||
|
|
||||||
if high_vfr?(metadata)
|
@output_options['fps_mode'] = 'vfr' if high_vfr?(metadata)
|
||||||
# TODO: change to `fps_mode` in the future, as `vsync` is being deprecated
|
|
||||||
@output_options['vsync'] = 'vfr'
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user