[FFmpeg-cvslog] lavfi/vaapi: Add some debug message

Fei Wang git at videolan.org
Sun Jun 25 07:30:24 EEST 2023


ffmpeg | branch: master | Fei Wang <fei.w.wang-at-intel.com at ffmpeg.org> | Fri Jun 16 08:58:09 2023 +0800| [f2d45bc565dc6ea5ee15505f4756accff773f5cd] | committer: Haihao Xiang

lavfi/vaapi: Add some debug message

Signed-off-by: Fei Wang <fei.w.wang at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2d45bc565dc6ea5ee15505f4756accff773f5cd
---

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



More information about the ffmpeg-cvslog mailing list