---
avtools/avprobe.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/avtools/avprobe.c b/avtools/avprobe.c
index 0ea9ff46fd..8ac8960014 100644
--- a/avtools/avprobe.c
+++ b/avtools/avprobe.c
@@ -809,6 +809,8 @@ static void show_stream(InputFile *ifile, InputStream *ist)
const AVPacketSideData* sd = &stream->side_data[i];
AVStereo3D *stereo;
AVSphericalMapping *spherical;
+ uint32_t mask;
+ char buf[64];
switch (sd->type) {
case AV_PKT_DATA_DISPLAYMATRIX:
@@ -828,6 +830,10 @@ static void show_stream(InputFile *ifile, InputStream *ist)
probe_array_footer("matrix_str", 1);
probe_int("rotation",
av_display_rotation_get((int32_t *)sd->data));
+ mask = av_display_orientation_get((int32_t *)sd->data);
+ av_display_orientation_name(mask, &buf[0], sizeof(buf));
+ probe_str("orientation", buf);
+ probe_int("orientation_mask", mask);
probe_object_footer("displaymatrix");
break;
case AV_PKT_DATA_STEREO3D:
--
2.16.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel