From f2d45bc565dc6ea5ee15505f4756accff773f5cd Mon Sep 17 00:00:00 2001 From: Fei Wang Date: Fri, 16 Jun 2023 08:58:09 +0800 Subject: [PATCH] lavfi/vaapi: Add some debug message Signed-off-by: Fei Wang --- libavfilter/vaapi_vpp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavfilter/vaapi_vpp.c b/libavfilter/vaapi_vpp.c index 10d31977c6..4de19564e9 100644 --- a/libavfilter/vaapi_vpp.c +++ b/libavfilter/vaapi_vpp.c @@ -554,6 +554,10 @@ int ff_vaapi_vpp_init_params(AVFilterContext *avctx, if (err < 0) return err; + av_log(avctx, AV_LOG_DEBUG, "Filter frame from surface %#x to %#x.\n", + ff_vaapi_vpp_get_surface_id(input_frame), + ff_vaapi_vpp_get_surface_id(output_frame)); + return 0; }