summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-05 12:17:55 +0100
committerwm4 <wm4@nowhere>2015-01-05 12:17:55 +0100
commit0f4bf347c52543057404e5c36f504ab18b901dba (patch)
tree5ead802be1e31c42969d92e74a7193ab94f18e05 /video/decode/vd_lavc.c
parent862a1b6e7eb3b16aad2d12196bd2410e996a27b1 (diff)
downloadmpv-0f4bf347c52543057404e5c36f504ab18b901dba.tar.bz2
mpv-0f4bf347c52543057404e5c36f504ab18b901dba.tar.xz
player: print used number of threads in verbose mode
Also, don't use av_log() for mpv output.
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
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;