From 0f4bf347c52543057404e5c36f504ab18b901dba Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Jan 2015 12:17:55 +0100 Subject: player: print used number of threads in verbose mode Also, don't use av_log() for mpv output. --- video/decode/vd_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode/vd_lavc.c') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 2716a848e7..ff2fa71131 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -372,7 +372,7 @@ static void init_avctx(struct dec_video *vd, const char *decoder, if (ctx->hwdec->init(ctx) < 0) goto error; } else { - mp_set_avcodec_threads(avctx, lavc_param->threads); + mp_set_avcodec_threads(vd->log, avctx, lavc_param->threads); } avctx->flags |= lavc_param->bitexact ? CODEC_FLAG_BITEXACT : 0; -- cgit v1.2.3