[vlc-commits] commit: Export input_resource_TerminateVout ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue Jun 8 20:41:45 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun  8 21:04:18 2010 +0300| [b7e246301fb347160f4ab58100681d4b5227e5bb] | committer: Rémi Denis-Courmont 

Export input_resource_TerminateVout

LibVLC needs it.
(cherry picked from commit 12256be1f21c0eeb5aadb69397c50063ba38a088)

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

 include/vlc_input.h         |    5 +++++
 src/input/input_interface.h |    5 -----
 src/libvlccore.sym          |    1 +
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index ac90b10..179fed6 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -668,4 +668,9 @@ VLC_EXPORT(input_resource_t *, input_DetachResource, ( input_thread_t * ) );
  */
 VLC_EXPORT(void, input_resource_Delete, ( input_resource_t * ) );
 
+/**
+ * Forcefully destroys the video output (e.g. when the playlist is stopped).
+ */
+VLC_EXPORT(void, input_resource_TerminateVout, ( input_resource_t * ) );
+
 #endif
diff --git a/src/input/input_interface.h b/src/input/input_interface.h
index 7f7347d..1e2e7c8 100644
--- a/src/input/input_interface.h
+++ b/src/input/input_interface.h
@@ -52,11 +52,6 @@ input_stats_t *stats_NewInputStats( input_thread_t *p_input );
 void input_resource_TerminateSout( input_resource_t *p_resource );
 
 /**
- * This function deletes the current vout in the resources.
- */
-void input_resource_TerminateVout( input_resource_t *p_resource );
-
-/**
  * This function return true if there is at least one vout in the resources.
  *
  * It can only be called on detached resources.
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index c4c5a41..9088485 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -219,6 +219,7 @@ input_item_SetURI
 input_item_WriteMeta
 input_Read
 input_resource_Delete
+input_resource_TerminateVout
 input_SplitMRL
 input_Start
 input_Stop



More information about the vlc-commits mailing list