Commit c2bebfc8 authored by Mark Thompson's avatar Mark Thompson

pthread_frame: Propagate sw_pix_fmt across threads

parent 10f4511f
...@@ -229,6 +229,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, ...@@ -229,6 +229,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
dst->width = src->width; dst->width = src->width;
dst->height = src->height; dst->height = src->height;
dst->pix_fmt = src->pix_fmt; dst->pix_fmt = src->pix_fmt;
dst->sw_pix_fmt = src->sw_pix_fmt;
dst->coded_width = src->coded_width; dst->coded_width = src->coded_width;
dst->coded_height = src->coded_height; dst->coded_height = src->coded_height;
......
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