Rename deprecated ffmpeg vsync arg to fps_mode (#38198)

This commit is contained in:
Matt Jankowski 2026-03-17 11:44:50 -04:00 committed by GitHub
parent efa76ace8a
commit 90840b3ede
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -60,6 +60,7 @@ Mastodon is a **free, open-source social network server** based on [ActivityPub]
- **PostgreSQL** 14+
- **Redis** 7.0+
- **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.

View File

@ -51,10 +51,7 @@ module Paperclip
@output_options['maxrate'] = bitrate + 192_000
@output_options['bufsize'] = bitrate * 5
if high_vfr?(metadata)
# TODO: change to `fps_mode` in the future, as `vsync` is being deprecated
@output_options['vsync'] = 'vfr'
end
@output_options['fps_mode'] = 'vfr' if high_vfr?(metadata)
end
end