avfilter/vf_scale_qsv: add logging context to log
authorSteven Liu <lq@chinaffmpeg.org>
Mon, 30 Sep 2019 07:10:36 +0000 (15:10 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 8 Oct 2019 05:47:38 +0000 (13:47 +0800)
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavfilter/vf_scale_qsv.c

index 3cc05b6..1cf5367 100644 (file)
@@ -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;
 }