[FFmpeg-cvslog] lavu/frame: Add missing conversions from side data enum to name

Jun Zhao git at videolan.org
Fri Sep 21 13:12:11 EEST 2018


ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Mon Sep 17 22:22:01 2018 +0800| [04cbaae2aa508e5530d25f8b0e800ea54d7cfaa2] | committer: Jun Zhao

lavu/frame: Add missing conversions from side data enum to name

Add missing conversions from side data enum to name.

Signed-off-by: Jun Zhao <mypopydev at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04cbaae2aa508e5530d25f8b0e800ea54d7cfaa2
---

 libavutil/frame.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 6c2c28f18f..4460325a9b 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";
+#if FF_API_FRAME_QP
     case AV_FRAME_DATA_QP_TABLE_PROPERTIES:         return "QP table properties";
     case AV_FRAME_DATA_QP_TABLE_DATA:               return "QP table data";
+#endif
     }
     return NULL;
 }



More information about the ffmpeg-cvslog mailing list