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.)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to