avcodec/pthread_frame: also keep AVCodecContext.properties in sync between threads

Some frame threaded decoders set it, but this information never reached the
caller in frame threading scenarios.

Signed-off-by: James Almer <jamrial@gmail.com>
pull/365/head
James Almer 3 years ago
parent 66845cffc3
commit 6dd7149f4c
  1. 1
      libavcodec/pthread_frame.c

@ -277,6 +277,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
dst->has_b_frames = src->has_b_frames;
dst->idct_algo = src->idct_algo;
dst->properties = src->properties;
dst->bits_per_coded_sample = src->bits_per_coded_sample;
dst->sample_aspect_ratio = src->sample_aspect_ratio;

Loading…
Cancel
Save