[FFmpeg-devel] [PATCH v2 12/14] avfilter/vf_scale_qsv: add logging context to log

Steven Liu lq at chinaffmpeg.org
Wed Oct 2 09:58:13 EEST 2019


Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 libavfilter/vf_scale_qsv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 3cc05b64f3..1cf5367969 100644
--- a/libavfilter/vf_scale_qsv.c
+++ b/libavfilter/vf_scale_qsv.c
@@ -541,7 +541,7 @@ static int qsvscale_config_props(AVFilterLink *outlink)
     return 0;
 
 fail:
-    av_log(NULL, AV_LOG_ERROR,
+    av_log(ctx, AV_LOG_ERROR,
            "Error when evaluating the expression '%s'\n", expr);
     return ret;
 }
-- 
2.15.1





More information about the ffmpeg-devel mailing list