Message ID | 20240626141014.6442-4-jamrial@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/5] avfilter/vf_showinfo: print more Stereo 3D fields | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 98c5632d52..72b91329d2 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -80,10 +80,12 @@ static void dump_spherical(AVFilterContext *ctx, AVFrame *frame, const AVFrameSi av_log(ctx, AV_LOG_INFO, "%s ", av_spherical_projection_name(spherical->projection)); + if (spherical->yaw || spherical->pitch || spherical->roll) { yaw = ((double)spherical->yaw) / (1 << 16); pitch = ((double)spherical->pitch) / (1 << 16); roll = ((double)spherical->roll) / (1 << 16); av_log(ctx, AV_LOG_INFO, "(%f/%f/%f) ", yaw, pitch, roll); + } if (spherical->projection == AV_SPHERICAL_EQUIRECTANGULAR_TILE) { size_t l, t, r, b;
Signed-off-by: James Almer <jamrial@gmail.com> --- libavfilter/vf_showinfo.c | 2 ++ 1 file changed, 2 insertions(+)