From 04cbaae2aa508e5530d25f8b0e800ea54d7cfaa2 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 17 Sep 2018 22:22:01 +0800 Subject: [PATCH] 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 --- 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; }