diff options
author | Lynne <dev@lynne.ee> | 2024-06-23 15:58:28 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-06-24 23:53:25 +0200 |
commit | dae12ddb2e5d4ec8cf5a965f4ac793edfa3802d6 (patch) | |
tree | 4161d26f1fdb57c9184fe469841ef0d12f99ebc9 /fftools/ffprobe.c | |
parent | 0d748eec8d52715f2949bd03519d39f2bf5baac4 (diff) | |
download | ffmpeg-dae12ddb2e5d4ec8cf5a965f4ac793edfa3802d6.tar.gz |
lavu/stereo3d: change the horizontal FOV field to a rational
This avoids hardcoding any implementation-specific limitiations as
part of the API, and allows for future expandability.
This also allows API users to more conveniently convert the
values into floats without hardcoding specific conversion constants.
The API was committed a few days ago, so changing this field now
is within the realms of acceptable.
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index d7ba980ff9..b69a75ff9a 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2548,7 +2548,7 @@ static void print_pkt_side_data(WriterContext *w, print_str("primary_eye", av_stereo3d_primary_eye_name(stereo->primary_eye)); print_int("baseline", stereo->baseline); print_q("horizontal_disparity_adjustment", stereo->horizontal_disparity_adjustment, '/'); - print_int("horizontal_field_of_view", stereo->horizontal_field_of_view); + print_q("horizontal_field_of_view", stereo->horizontal_field_of_view, '/'); } else if (sd->type == AV_PKT_DATA_SPHERICAL) { const AVSphericalMapping *spherical = (AVSphericalMapping *)sd->data; print_str("projection", av_spherical_projection_name(spherical->projection)); |