summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-09-08 15:34:25 -0300
committerJames Almer <jamrial@gmail.com>2021-09-16 12:46:07 -0300
commit535a835e5176a5f2d5e03776030bacbc3e19d604 (patch)
treeaea1837b695e9f01c7b6999cc3169acd48897730 /fftools/ffmpeg.h
parenta8bd8d46f9d32582c5b89cdc57f9cb7169e94066 (diff)
ffmpeg: use display matrix frame side data for autorotation
And give it priority over stream side data when present. Fixes part of ticket #6945. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 1194bb0cae..30225e9ffe 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -258,6 +258,7 @@ typedef struct InputFilter {
uint64_t channel_layout;
AVBufferRef *hw_frames_ctx;
+ int32_t *displaymatrix;
int eof;
} InputFilter;