[FFmpeg-devel] [PATCH v2 5/7] libavutil: Provide a side data description for newly introduced bar data

Devin Heitmueller devin.heitmueller at ltnglobal.com
Sat Jul 1 00:38:53 EEST 2023


Add a new description for bar data, so that the presence of bar
data can be seen through ffprobe.

Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
---
 libavutil/frame.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index b6cee2d..03d1b31 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -941,6 +941,7 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type)
     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_BARDATA:         return "SMPTE 2016-1 bar data";
     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";
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list