summaryrefslogtreecommitdiffstats
path: root/common/av_common.h
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 /common/av_common.h
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 'common/av_common.h')
-rw-r--r--common/av_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/av_common.h b/common/av_common.h
index 3168d5310d..0b0260982f 100644
--- a/common/av_common.h
+++ b/common/av_common.h
@@ -34,7 +34,7 @@ void mp_copy_lav_codec_headers(AVCodecContext *avctx, AVCodecContext *st);
void mp_set_av_packet(AVPacket *dst, struct demux_packet *mpkt, AVRational *tb);
int64_t mp_pts_to_av(double mp_pts, AVRational *tb);
double mp_pts_from_av(int64_t av_pts, AVRational *tb);
-void mp_set_avcodec_threads(AVCodecContext *avctx, int threads);
+void mp_set_avcodec_threads(struct mp_log *l, AVCodecContext *avctx, int threads);
void mp_add_lavc_decoders(struct mp_decoder_list *list, enum AVMediaType type);
int mp_codec_to_av_codec_id(const char *codec);
const char *mp_codec_from_av_codec_id(int codec_id);