diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-24 18:12:35 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-06-14 00:19:14 -0400 |
commit | 5a69ded12aaf2bd3baed5d1d644ef23cfecef87f (patch) | |
tree | 77ab0294959f4ac7330459442f619858566c5dc7 /libavfilter/vf_showinfo.c | |
parent | 27631796c9d1b8146ad4a16e6539ecc08afa7565 (diff) | |
download | ffmpeg-5a69ded12aaf2bd3baed5d1d644ef23cfecef87f.tar.gz |
vf_showinfo: print display transformation values
Diffstat (limited to 'libavfilter/vf_showinfo.c')
-rw-r--r-- | libavfilter/vf_showinfo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 744ad230ea..cf9099574b 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -25,6 +25,7 @@ #include <inttypes.h> #include "libavutil/adler32.h" +#include "libavutil/display.h" #include "libavutil/imgutils.h" #include "libavutil/internal.h" #include "libavutil/pixdesc.h" @@ -117,6 +118,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) case AV_FRAME_DATA_STEREO3D: dump_stereo3d(ctx, sd); break; + case AV_FRAME_DATA_DISPLAYMATRIX: + av_log(ctx, AV_LOG_INFO, "displaymatrix: rotation of %.2f degrees", + av_display_rotation_get((int32_t *)sd->data)); + break; default: av_log(ctx, AV_LOG_WARNING, "unknown side data type %d (%d bytes)", sd->type, sd->size); |