summaryrefslogtreecommitdiffstats
path: root/libhb/hbffmpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hbffmpeg.h')
-rw-r--r--libhb/hbffmpeg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h
index 568eb5340..21108211e 100644
--- a/libhb/hbffmpeg.h
+++ b/libhb/hbffmpeg.h
@@ -7,8 +7,10 @@
#include "libavutil/opt.h"
#include "libswscale/swscale.h"
+#define HB_FFMPEG_THREADS_AUTO (-1) // let hb_avcodec_open decide thread_count
+
void hb_avcodec_init(void);
-int hb_avcodec_open( AVCodecContext *, struct AVCodec * );
+int hb_avcodec_open( AVCodecContext *, struct AVCodec *, int thread_count );
int hb_avcodec_close( AVCodecContext * );
int hb_ff_layout_xlat(int64_t ff_layout, int channels);
struct SwsContext*