diff mbox series

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

Message ID 20230111173517.38039-2-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/2] avfilter/vf_showinfo: remove superfluous line break | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer Jan. 11, 2023, 5:35 p.m. UTC
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@gmail.com>
---
 libavfilter/vf_showinfo.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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);