Commit 593dc5ae authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5a69ded1'

* commit '5a69ded1':
  vf_showinfo: print display transformation values
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b152152d 5a69ded1
......@@ -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"
......@@ -142,6 +143,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment