[FFmpeg-devel] [PATCH v2 0/5] VAAPI support infrastructure, encoders

Mark Thompson sw at jkqxz.net
Sun Jan 17 23:43:11 CET 2016


Hi,

Here is a new version of this patchset.  See previous email <http://ffmpeg.org/pipermail/ffmpeg-devel/2016-January/187305.html> for the full summary.

This fixes the main thread-safety complaint, that libva initialisation and operations weren't mutually excluded.  It guards the connection initialisation globally, and then individual libva calls on a per-connection basis.

It does not yet add this locking into the existing decoder (actually this would be very easy, it only needs to go in ff_vaapi_mpeg_end_frame() in libavcodec/vaapi.c) because there is no decision as to how to communicate the necessary instance information to the decoder (see other thread).

Thanks,

- Mark


(Line wrapping should also be fixed, hopefully.)



More information about the ffmpeg-devel mailing list