Unified · Split
| @@ -80,10 +80,12 @@ static void dump_spherical(AVFilterContext *ctx, AVFrame *frame, const AVFrameSi · 79 unmodified lines | ||
| 80 | 80 | |
| 81 | 81 | av_log(ctx, AV_LOG_INFO, "%s ", av_spherical_projection_name(spherical->projection)); |
| 82 | 82 | |
| 83 | − yaw = ((double)spherical->yaw) / (1 << 16); | |
| 84 | − pitch = ((double)spherical->pitch) / (1 << 16); | |
| 85 | − roll = ((double)spherical->roll) / (1 << 16); | |
| 86 | − av_log(ctx, AV_LOG_INFO, "(%f/%f/%f) ", yaw, pitch, roll); | |
| 83 | + if (spherical->yaw || spherical->pitch || spherical->roll) { | |
| 84 | + yaw = ((double)spherical->yaw) / (1 << 16); | |
| 85 | + pitch = ((double)spherical->pitch) / (1 << 16); | |
| 86 | + roll = ((double)spherical->roll) / (1 << 16); | |
| 87 | + av_log(ctx, AV_LOG_INFO, "(%f/%f/%f) ", yaw, pitch, roll); | |
| 88 | + } | |
| 87 | 89 | |
| 88 | 90 | if (spherical->projection == AV_SPHERICAL_EQUIRECTANGULAR_TILE) { |
| 89 | 91 | size_t l, t, r, b; |