Quoting Mark Thompson (2017-03-31 01:35:08) > --- > Found in the VP9 hwaccels in the other tine (both VAAPI and DXVA2), which > examine sw_pix_fmt per-frame and therefore need it set in the per-thread > contexts. It doesn't currently cause any problems here, but should be kept > consistent. > > > libavcodec/pthread_frame.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c > index 6d14a878a..a72391ba3 100644 > --- a/libavcodec/pthread_frame.c > +++ b/libavcodec/pthread_frame.c > @@ -229,6 +229,7 @@ static int update_context_from_thread(AVCodecContext > *dst, AVCodecContext *src, > dst->width = src->width; > dst->height = src->height; > dst->pix_fmt = src->pix_fmt; > + dst->sw_pix_fmt = src->sw_pix_fmt; > > dst->coded_width = src->coded_width; > dst->coded_height = src->coded_height; > -- > 2.11.0
LGTM as well -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
