@@ -354,9 +354,9 @@ static void dump_spherical(void *ctx, AVPacketSideData *sd)
}
if (spherical->projection == AV_SPHERICAL_EQUIRECTANGULAR)
- av_log(ctx, AV_LOG_INFO, "equirectangular ");
+ av_log(ctx, AV_LOG_INFO, "equirectangular, ");
else if (spherical->projection == AV_SPHERICAL_CUBEMAP)
- av_log(ctx, AV_LOG_INFO, "cubemap ");
+ av_log(ctx, AV_LOG_INFO, "cubemap, ");
else {
av_log(ctx, AV_LOG_WARNING, "unknown");
return;
@@ -365,7 +365,7 @@ static void dump_spherical(void *ctx, AVPacketSideData *sd)
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);
+ av_log(ctx, AV_LOG_INFO, "yaw=%f, pitch=%f, roll=%f ", yaw, pitch, roll);
}
static void dump_sidedata(void *ctx, AVStream *st, const char *indent)
Signed-off-by: James Almer <jamrial@gmail.com> --- This prints spherical: equirectangular, yaw=0.000000, pitch=0.000000, roll=0.000000 Instead of spherical: equirectangular (0.000000/0.000000/0.000000) libavformat/dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)