]> git.sesse.net Git - vlc/blobdiff - include/vlc_stream.h
Stream: Export stream_FilterNew
[vlc] / include / vlc_stream.h
index 96a2f0e5f7f0da092216976f15a408ae725856ef..c2c40ab9b9c9cfda122a0d5dfcedebdbfe20da5c 100644 (file)
@@ -181,6 +181,11 @@ VLC_EXPORT( stream_t *,__stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buff
 #define stream_UrlNew( a, b ) __stream_UrlNew( VLC_OBJECT(a), b )
 VLC_EXPORT( stream_t *,__stream_UrlNew, (vlc_object_t *p_this, const char *psz_url ) );
 
+/**
+ * Try to add a stream filter to an open stream.
+ * @return New stream to use, or NULL if the filter could not be added.
+ **/
+VLC_EXPORT( stream_t*, stream_FilterNew, ( stream_t *p_source, const char *psz_stream_filter ) );
 /**
  * @}
  */