You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffmpeg: drop obsolete rotation API remnants
No demuxers export the "rotate" metadata tag anymore.
This commit is contained in:
@@ -3325,11 +3325,6 @@ static int init_output_stream_encode(OutputStream *ost, AVFrame *frame)
|
|||||||
|
|
||||||
set_encoder_id(output_files[ost->file_index], ost);
|
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) {
|
if (ist) {
|
||||||
dec_ctx = ist->dec_ctx;
|
dec_ctx = ist->dec_ctx;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user