mmal/deinterlace: Add locking to port callbacks

Multimedia / VLC - Julian Scheel [jusst.de] - 20 January 2015 00:06 UTC

The in- and ouput port callbacks lead to access on the mmal pools, which are not thread-safe. To deal with this the sys->mutex is used to lock against usage of the mmal pools from the main thread.

0b7fff9 mmal/deinterlace: Add locking to port callbacks
modules/hw/mmal/deinterlace.c | 5 +++++
1 file changed, 5 insertions(+)

Upstream: git.videolan.org


  • Share