diff options
author | wm4 <wm4@nowhere> | 2015-01-05 12:17:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-05 12:17:55 +0100 |
commit | 0f4bf347c52543057404e5c36f504ab18b901dba (patch) | |
tree | 5ead802be1e31c42969d92e74a7193ab94f18e05 /audio | |
parent | 862a1b6e7eb3b16aad2d12196bd2410e996a27b1 (diff) | |
download | mpv-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 'audio')
-rw-r--r-- | audio/decode/ad_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/ad_lavc.c b/audio/decode/ad_lavc.c index 8825172123..fd09eca0b7 100644 --- a/audio/decode/ad_lavc.c +++ b/audio/decode/ad_lavc.c @@ -136,7 +136,7 @@ static int init(struct dec_audio *da, const char *decoder) if (sh->lav_headers) mp_copy_lav_codec_headers(lavc_context, sh->lav_headers); - mp_set_avcodec_threads(lavc_context, opts->threads); + mp_set_avcodec_threads(da->log, lavc_context, opts->threads); /* open it */ if (avcodec_open2(lavc_context, lavc_codec, NULL) < 0) { |