diff options
author | Jan Ekström <jeebjp@gmail.com> | 2022-10-19 10:54:29 +0200 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2022-10-19 11:53:52 +0200 |
commit | b9058765d7422bb801af0e67fb58ba47e523f831 (patch) | |
tree | 0e6f26a2c12beebd3d47aa06e21d451f5f07093c /fftools/ffmpeg.h | |
parent | c889248647780753ec8b05138c7de4a707adb106 (diff) | |
download | ffmpeg-b9058765d7422bb801af0e67fb58ba47e523f831.tar.gz |
ffmpeg: Deprecate display rotation override with a metadata key
Now that we have proper options for defining display matrix
overrides, this should no longer be required.
fftools does not have its own versioning, so for now the define is
just set to 1 and disables the functionality if set to zero.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 13a2100439..2dcce45741 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -53,6 +53,7 @@ #define FFMPEG_OPT_PSNR 1 #define FFMPEG_OPT_MAP_CHANNEL 1 #define FFMPEG_OPT_MAP_SYNC 1 +#define FFMPEG_ROTATION_METADATA 1 enum VideoSyncMethod { VSYNC_AUTO = -1, @@ -532,11 +533,15 @@ typedef struct OutputStream { int is_cfr; int force_fps; int top_field_first; +#if FFMPEG_ROTATION_METADATA int rotate_overridden; +#endif int autoscale; int bitexact; int bits_per_raw_sample; +#if FFMPEG_ROTATION_METADATA double rotate_override_value; +#endif AVRational frame_aspect_ratio; |