From 16302246b1fcb7ad4e6f7bd31c49956a455336d2 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 29 Apr 2015 17:59:01 +0300 Subject: avconv: Add an option for automatically rotating video according to display matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- avconv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'avconv.h') 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; -- cgit v1.2.3