[FFmpeg-devel] [PATCH 1/2] lavu/frame: Add missing conversions from side data enum to name

Jun Zhao mypopydev at gmail.com
Mon Sep 17 17:29:50 EEST 2018

Add missing conversions from side data enum to name.

Signed-off-by: Jun Zhao <mypopydev at gmail.com>
 libavutil/frame.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 6c2c28f..4460325 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -831,9 +831,12 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type)
     case AV_FRAME_DATA_MASTERING_DISPLAY_METADATA:  return "Mastering display metadata";
     case AV_FRAME_DATA_CONTENT_LIGHT_LEVEL:         return "Content light level metadata";
     case AV_FRAME_DATA_GOP_TIMECODE:                return "GOP timecode";
+    case AV_FRAME_DATA_SPHERICAL:                   return "Spherical Mapping";
     case AV_FRAME_DATA_ICC_PROFILE:                 return "ICC profile";
     case AV_FRAME_DATA_QP_TABLE_PROPERTIES:         return "QP table properties";
     case AV_FRAME_DATA_QP_TABLE_DATA:               return "QP table data";
     return NULL;

More information about the ffmpeg-devel mailing list