mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 18:49:58 +00:00
avformat/dump: print Stereo3D AVRationals as float
Same as every other rational printed in this file. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
01456a6ac1
commit
46f20ceb9d
@ -265,11 +265,10 @@ static void dump_stereo3d(void *ctx, const AVPacketSideData *sd, int log_level)
|
||||
if (stereo->baseline)
|
||||
av_log(ctx, log_level, ", baseline: %"PRIu32"", stereo->baseline);
|
||||
if (stereo->horizontal_disparity_adjustment.num && stereo->horizontal_disparity_adjustment.den)
|
||||
av_log(ctx, log_level, ", horizontal_disparity_adjustment: %d/%d",
|
||||
stereo->horizontal_disparity_adjustment.num, stereo->horizontal_disparity_adjustment.den);
|
||||
av_log(ctx, log_level, ", horizontal_disparity_adjustment: %0.4f",
|
||||
av_q2d(stereo->horizontal_disparity_adjustment));
|
||||
if (stereo->horizontal_field_of_view.num && stereo->horizontal_field_of_view.den)
|
||||
av_log(ctx, log_level, ", horizontal_field_of_view: %d/%d", stereo->horizontal_field_of_view.num,
|
||||
stereo->horizontal_field_of_view.den);
|
||||
av_log(ctx, log_level, ", horizontal_field_of_view: %0.3f", av_q2d(stereo->horizontal_field_of_view));
|
||||
|
||||
if (stereo->flags & AV_STEREO3D_FLAG_INVERT)
|
||||
av_log(ctx, log_level, " (inverted)");
|
||||
|
Loading…
Reference in New Issue
Block a user