opengl: add interop close() callback
commit6efbaca46e12e75f83e99aa64789a7d9f16ca6dd
authorRomain Vimont <rom1v@videolabs.io>
Wed, 22 Jan 2020 17:46:35 +0000 (22 18:46 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Feb 2020 22:11:21 +0000 (13 23:11 +0100)
tree74b7b9c2c4f82b43c3e2ee0d0ea53ed11b70c3cd
parenta4c3db9a7cc7e33036246aad3dbf4bc44340e368
opengl: add interop close() callback

Use a callback to close an interop instead of relying on closing the
module.

This allows to properly close interop_sw, which is not a module.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/opengl/interop.h
modules/video_output/opengl/interop_android.c
modules/video_output/opengl/interop_cvpx.c
modules/video_output/opengl/interop_sw.c
modules/video_output/opengl/interop_vaapi.c
modules/video_output/opengl/interop_vdpau.c
modules/video_output/opengl/vout_helper.c