diff options
author | wm4 <wm4@nowhere> | 2015-01-05 12:17:55 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:18 +0900 |
commit | cf997ff6914a46136aead7293cfcc7c2b8682a5c (patch) | |
tree | 7eb12b93bcb844590e1d847ec99a7cb0e717ccc3 /video/decode/vd_lavc.c | |
parent | 1560f74dde1f29c4cd1a8b6bf91dfa120ace786b (diff) | |
download | mpv-cf997ff6914a46136aead7293cfcc7c2b8682a5c.tar.bz2 mpv-cf997ff6914a46136aead7293cfcc7c2b8682a5c.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index e5a4bc4452..84f2d0cccc 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; |