fftools/ffmpeg: deprecate -fps_mode/vsync drop

It depends on the ability of muxers to generate timestamps, which is
itself deprecated.
This commit is contained in:
Anton Khirnov
2023-12-14 13:42:17 +01:00
parent 8a11724a02
commit 3dc319587f
5 changed files with 18 additions and 6 deletions

View File

@@ -60,6 +60,7 @@
#define FFMPEG_OPT_ENC_TIME_BASE_NUM 1
#define FFMPEG_OPT_TOP 1
#define FFMPEG_OPT_FORCE_KF_SOURCE_NO_DROP 1
#define FFMPEG_OPT_VSYNC_DROP 1
#define FFMPEG_ERROR_RATE_EXCEEDED FFERRTAG('E', 'R', 'E', 'D')
@@ -69,7 +70,9 @@ enum VideoSyncMethod {
VSYNC_CFR,
VSYNC_VFR,
VSYNC_VSCFR,
#if FFMPEG_OPT_VSYNC_DROP
VSYNC_DROP,
#endif
};
enum EncTimeBase {