diff options
author | Martin Storsjö <martin@martin.st> | 2015-04-29 17:59:01 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-05-02 22:09:06 +0300 |
commit | 16302246b1fcb7ad4e6f7bd31c49956a455336d2 (patch) | |
tree | c5c5a29b3f25d02b7e56cf0aa2bc679a07ac5d2d /avconv.h | |
parent | e2d50fc2f5f3600e13055acf1a10fec35e941f37 (diff) | |
download | ffmpeg-16302246b1fcb7ad4e6f7bd31c49956a455336d2.tar.gz |
avconv: Add an option for automatically rotating video according to display matrix
The option is enabled by default, but can be disabled.
If this is enabled, such side data isn't copied into the output stream
(except when doing stream copy).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -113,6 +113,8 @@ typedef struct OptionsContext { int nb_hwaccels; SpecifierOpt *hwaccel_devices; int nb_hwaccel_devices; + SpecifierOpt *autorotate; + int nb_autorotate; /* output options */ StreamMap *stream_maps; @@ -236,6 +238,7 @@ typedef struct InputStream { AVDictionary *decoder_opts; AVRational framerate; /* framerate forced with -r */ + int autorotate; int resample_height; int resample_width; int resample_pix_fmt; |