[FFmpeg-devel] [PATCH 2/5] libautil: add support for AV_HWDEVICE_TYPE_D3D11VA

wm4 nfxjfg at googlemail.com
Sat Dec 17 18:19:33 EET 2016


On Fri, 16 Dec 2016 19:04:33 +0100
Hendrik Leppkes <h.leppkes at gmail.com> wrote:

> 
> IMHO this mutex should just generally go away, as you can simply lock
> externally if you need to, it feels rather ugly and hackish to add it
> here. Add to that Antons work to make hwaccel with threads fully
> synchronized to the calling thread, and everything can be achieved
> with external locking if you want multiple threads using the same
> device.

Where is the thread-safety or unsafety of these things defined?

MIO it's completely insane not to let at least some AVHWFramesContext
functions be thread-safe.


More information about the ffmpeg-devel mailing list