[FFmpeg-devel] [PATCH 2/2] avfilter/vf_showinfo: add support for raw Dolby Vision RPU side data

James Almer jamrial at gmail.com
Wed Jan 11 19:35:17 EET 2023


Print only the name of the side data, as the actual parsed metadata
is already handled by its respective side data type.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavfilter/vf_showinfo.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index 377ac6e413..cf11d27593 100644
--- a/libavfilter/vf_showinfo.c
+++ b/libavfilter/vf_showinfo.c
@@ -810,6 +810,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
         case AV_FRAME_DATA_DOVI_METADATA:
             dump_dovi_metadata(ctx, sd);
             break;
+        case AV_FRAME_DATA_DOVI_RPU_BUFFER:
+            av_log(ctx, AV_LOG_INFO, "Dolby Vision RPU raw data");
+            break;
         default:
             av_log(ctx, AV_LOG_WARNING, "unknown side data type %d "
                    "(%"SIZE_SPECIFIER" bytes)", sd->type, sd->size);
-- 
2.39.0



More information about the ffmpeg-devel mailing list