Commit d6339e0b authored by Filippo Carone's avatar Filippo Carone

libvlc_vlm_release added

parent 2a3749fc
...@@ -38,6 +38,15 @@ extern "C" { ...@@ -38,6 +38,15 @@ extern "C" {
* @{ * @{
*/ */
/**
* Release the vlm instance related to the given libvlc_instance_t
*
* \param p_instance the instance
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API void libvlc_vlm_release( libvlc_instance_t *, libvlc_exception_t * );
/** /**
* Add a broadcast, with one input. * Add a broadcast, with one input.
* *
......
...@@ -118,6 +118,16 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance, ...@@ -118,6 +118,16 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance,
} while(0) } while(0)
#define VLM(p) VLM_RET(p,) #define VLM(p) VLM_RET(p,)
void libvlc_vlm_release( libvlc_instance_t *p_instance, libvlc_exception_t *p_exception)
{
vlm_t *p_vlm;
VLM(p_vlm);
vlm_Delete( p_vlm );
}
void libvlc_vlm_add_broadcast( libvlc_instance_t *p_instance, char *psz_name, void libvlc_vlm_add_broadcast( libvlc_instance_t *p_instance, char *psz_name,
char *psz_input, char *psz_output, char *psz_input, char *psz_output,
int i_options, char **ppsz_options, int i_options, char **ppsz_options,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment