*/
void input_resource_SetInput( input_resource_t *, input_thread_t * );
+/**
+ * This function return a input_resource_t with all resources detach from the
+ * given input_resource_t.
+ * It must not be associated to an input.
+ */
+input_resource_t *input_resource_Detach( input_resource_t * );
+
/**
* This function handles sout request.
*/
*
* You must call vlc_object_release on all values returned (if non NULL).
*/
-void input_resource_HoldVouts( input_resource_t *, vout_thread_t ***, int * );
+void input_resource_HoldVouts( input_resource_t *, vout_thread_t ***, size_t * );
#endif