summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-04-29 17:59:01 +0300
committerMartin Storsjö <martin@martin.st>2015-05-02 22:09:06 +0300
commit16302246b1fcb7ad4e6f7bd31c49956a455336d2 (patch)
treec5c5a29b3f25d02b7e56cf0aa2bc679a07ac5d2d /avconv.h
parente2d50fc2f5f3600e13055acf1a10fec35e941f37 (diff)
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index b932d7e8db..5fddf98127 100644
--- a/avconv.h
+++ b/avconv.h
@@ -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;