aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vaapi_vpp.c
diff options
context:
space:
mode:
authorFei Wang <fei.w.wang-at-intel.com@ffmpeg.org>2023-06-16 08:58:09 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2023-06-25 10:01:51 +0800
commitf2d45bc565dc6ea5ee15505f4756accff773f5cd (patch)
treeb9f411f890ab98fbcb5935763a7f9df2782987a3 /libavfilter/vaapi_vpp.c
parentf565da83463715b5dc0ea6272d51e3dc2c6d076b (diff)
downloadffmpeg-f2d45bc565dc6ea5ee15505f4756accff773f5cd.tar.gz
lavfi/vaapi: Add some debug message
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Diffstat (limited to 'libavfilter/vaapi_vpp.c')
-rw-r--r--libavfilter/vaapi_vpp.c4
1 files changed, 4 insertions, 0 deletions
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;
}