[vlc-commits] vout: export vout_Close()

Rémi Denis-Courmont git at videolan.org
Fri Jan 18 22:13:07 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 18 23:07:47 2019 +0200| [5a46546292f86a39e2f3321d57fc0fc5258bfccc] | committer: Rémi Denis-Courmont

vout: export vout_Close()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a46546292f86a39e2f3321d57fc0fc5258bfccc
---

 include/vlc_vout.h | 9 +++++++++
 src/libvlccore.sym | 1 +
 2 files changed, 10 insertions(+)

diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index 5c716c0470..10321d7a45 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -76,6 +76,15 @@ struct vout_thread_t {
  *****************************************************************************/
 
 /**
+ * Destroys a vout.
+ *
+ * This function closes and releases a vout created by vout_Request().
+ *
+ * \param vout the vout to close
+ */
+VLC_API void vout_Close(vout_thread_t *vout);
+
+/**
  * This function will handle a snapshot request.
  *
  * pp_image, pp_picture and p_fmt can be NULL otherwise they will be
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 9a38d310fc..2c6977f5b2 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -731,6 +731,7 @@ vlm_MessageDelete
 vlm_MessageNew
 vlm_MessageSimpleNew
 vlm_New
+vout_Close
 vout_ChangeAspectRatio
 vout_GetPicture
 vout_PutPicture



More information about the vlc-commits mailing list