Commit 3cc1af9d authored by Michael Niedermayer's avatar Michael Niedermayer

pthreads: export the delay that was previously exported by mangling has_b_frames through

AVCodecContext.delay which was previously unused for decoders and fits better.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent afc0a24d
...@@ -363,6 +363,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, ...@@ -363,6 +363,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
} }
if (for_user) { if (for_user) {
dst->delay = src->thread_count - 1;
dst->coded_frame = src->coded_frame; dst->coded_frame = src->coded_frame;
} else { } else {
if (dst->codec->update_thread_context) if (dst->codec->update_thread_context)
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define AVCODEC_VERSION_H #define AVCODEC_VERSION_H
#define LIBAVCODEC_VERSION_MAJOR 53 #define LIBAVCODEC_VERSION_MAJOR 53
#define LIBAVCODEC_VERSION_MINOR 30 #define LIBAVCODEC_VERSION_MINOR 31
#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment