summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-15 16:14:49 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-23 11:36:59 +0100
commit9dd104f6e263dce770541074d99b5286524f2a8b (patch)
tree939008743ea2c47b83fbd3c164ffbde67f452583 /fftools/ffmpeg.c
parent823cea519778f3c6b5119cfdb75219289564db57 (diff)
ffmpeg: drop obsolete rotation API remnants
No demuxers export the "rotate" metadata tag anymore.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 5325353bc9..3761ea0c38 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3325,11 +3325,6 @@ static int init_output_stream_encode(OutputStream *ost, AVFrame *frame)
set_encoder_id(output_files[ost->file_index], ost);
- // Muxers use AV_PKT_DATA_DISPLAYMATRIX to signal rotation. On the other
- // hand, the legacy API makes demuxers set "rotate" metadata entries,
- // which have to be filtered out to prevent leaking them to output files.
- av_dict_set(&ost->st->metadata, "rotate", NULL, 0);
-
if (ist) {
dec_ctx = ist->dec_ctx;
}