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

git at videolan.org git at videolan.org
Tue Jun 8 20:05:59 CEST 2010


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

Export input_resource_TerminateVout

LibVLC needs it.

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

 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 2650e8e..7d1d248 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -667,4 +667,9 @@ VLC_EXPORT( input_resource_t *, input_resource_New, ( vlc_object_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 fbf6bc2..eca2690 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -220,6 +220,7 @@ input_item_WriteMeta
 input_Read
 input_resource_New
 input_resource_Delete
+input_resource_TerminateVout
 input_SplitMRL
 input_Start
 input_Stop



More information about the vlc-commits mailing list