aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-03 12:02:59 +0200
committerAnton Khirnov <anton@khirnov.net>2022-08-08 16:20:58 +0200
commitfee249b30aa0bb6bed96be9601520346c65b8510 (patch)
tree55a999360fe3455da473ae50534179129b6f91e7 /fftools/ffmpeg.h
parent49123dd05814901fa198c31de62c70a7d482288c (diff)
downloadffmpeg-fee249b30aa0bb6bed96be9601520346c65b8510.tar.gz
fftools/ffmpeg: deprecate specifying a sync stream with -map
It has not had any effect whatsoever for over 10 years.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index b7d62957f8..6b09846825 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -52,6 +52,7 @@
// deprecated features
#define FFMPEG_OPT_PSNR 1
#define FFMPEG_OPT_MAP_CHANNEL 1
+#define FFMPEG_OPT_MAP_SYNC 1
enum VideoSyncMethod {
VSYNC_AUTO = -1,
@@ -81,8 +82,6 @@ typedef struct StreamMap {
int disabled; /* 1 is this mapping is disabled by a negative map */
int file_index;
int stream_index;
- int sync_file_index;
- int sync_stream_index;
char *linklabel; /* name of an output link, for mapping lavfi outputs */
} StreamMap;