summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-02 22:39:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-02 22:39:00 +0200
commitf5b26fbc2f564831b337f1de9faaaf6753a03871 (patch)
treed6983d185fdc2a2df77795a739493c0569872e2c /ffmpeg.c
parentdeedf3e590027e53cf999b11a25fc9be9615b5f2 (diff)
parent16302246b1fcb7ad4e6f7bd31c49956a455336d2 (diff)
Merge commit '16302246b1fcb7ad4e6f7bd31c49956a455336d2'
* commit '16302246b1fcb7ad4e6f7bd31c49956a455336d2': avconv: Add an option for automatically rotating video according to display matrix Conflicts: Changelog ffmpeg_opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7e5b16d0ec..8c288ae366 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3647,6 +3647,8 @@ static int process_input(int file_index)
if (av_packet_get_side_data(&pkt, src_sd->type, NULL))
continue;
+ if (ist->autorotate && src_sd->type == AV_PKT_DATA_DISPLAYMATRIX)
+ continue;
dst_data = av_packet_new_side_data(&pkt, src_sd->type, src_sd->size);
if (!dst_data)