[FFmpeg-cvslog] Add missing conversions from side data enum to name

Neil Birkbeck git at videolan.org
Fri Jan 22 04:38:54 CET 2016


ffmpeg | branch: master | Neil Birkbeck <neil.birkbeck at gmail.com> | Thu Jan 21 10:34:29 2016 -0800| [17399f6a9f00aa492f4b7a408a03bd84d2701008] | committer: Michael Niedermayer

Add missing conversions from side data enum to name

Add names for recently added enums to av_frame_side_data_name.

Signed-off-by: Neil Birkbeck <neil.birkbeck at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavutil/frame.c b/libavutil/frame.c
index f2097e9..92bbe09 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -728,7 +728,11 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type)
     case AV_FRAME_DATA_DOWNMIX_INFO:    return "Metadata relevant to a downmix procedure";
     case AV_FRAME_DATA_REPLAYGAIN:      return "AVReplayGain";
     case AV_FRAME_DATA_DISPLAYMATRIX:   return "3x3 displaymatrix";
+    case AV_FRAME_DATA_AFD:             return "Active format description";
     case AV_FRAME_DATA_MOTION_VECTORS:  return "Motion vectors";
+    case AV_FRAME_DATA_SKIP_SAMPLES:    return "Skip samples";
+    case AV_FRAME_DATA_AUDIO_SERVICE_TYPE:          return "Audio service type";
+    case AV_FRAME_DATA_MASTERING_DISPLAY_METADATA:  return "Mastering display metadata";
     }
     return NULL;
 }



More information about the ffmpeg-cvslog mailing list