mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '5a69ded12aaf2bd3baed5d1d644ef23cfecef87f'
* commit '5a69ded12aaf2bd3baed5d1d644ef23cfecef87f': vf_showinfo: print display transformation values Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
593dc5aed9
@ -25,6 +25,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include "libavutil/adler32.h"
|
#include "libavutil/adler32.h"
|
||||||
|
#include "libavutil/display.h"
|
||||||
#include "libavutil/imgutils.h"
|
#include "libavutil/imgutils.h"
|
||||||
#include "libavutil/internal.h"
|
#include "libavutil/internal.h"
|
||||||
#include "libavutil/pixdesc.h"
|
#include "libavutil/pixdesc.h"
|
||||||
@ -142,6 +143,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
|
|||||||
case AV_FRAME_DATA_STEREO3D:
|
case AV_FRAME_DATA_STEREO3D:
|
||||||
dump_stereo3d(ctx, sd);
|
dump_stereo3d(ctx, sd);
|
||||||
break;
|
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:
|
default:
|
||||||
av_log(ctx, AV_LOG_WARNING, "unknown side data type %d (%d bytes)",
|
av_log(ctx, AV_LOG_WARNING, "unknown side data type %d (%d bytes)",
|
||||||
sd->type, sd->size);
|
sd->type, sd->size);
|
||||||
|
Loading…
Reference in New Issue
Block a user