diff mbox series

[FFmpeg-devel,9/9] ffmpeg: drop obsolete rotation API remnants

Message ID 20211115152400.5522-9-anton@khirnov.net
State Accepted
Commit 9dd104f6e263dce770541074d99b5286524f2a8b
Headers show
Series [FFmpeg-devel,1/9] ffmpeg: do not copy chroma_sample_location from the input stream | expand


Context Check Description
andriy/configurex86 warning Failed to apply patch
andriy/configureppc warning Failed to apply patch

Commit Message

Anton Khirnov Nov. 15, 2021, 3:24 p.m. UTC
No demuxers export the "rotate" metadata tag anymore.
 fftools/ffmpeg.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series


diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index c0ab78608a..d1904c20d4 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3361,11 +3361,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;