ffmpeg | branch: master | Mark Thompson <[email protected]> | Thu Mar 30 22:58:59 2017 +0100| [ebce1332285b16418dacb369defcfd7bae06d319] | committer: Mark Thompson
pthread_frame: Propagate sw_pix_fmt across threads This is required by the VP9 hwaccels (both DXVA2 and VAAPI) when threads are enabled. Tested-by: Hendrik Leppkes <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ebce1332285b16418dacb369defcfd7bae06d319 --- libavcodec/pthread_frame.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 5b5f5fb..4e1ad9d 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -250,6 +250,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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
