Commit 04d158ef authored by Rémi Duraffort's avatar Rémi Duraffort

libvlc: do not export libvlc_module_description_list_get but only the functions

restricted to the audio and video filters.
parent 57333f59
......@@ -409,8 +409,6 @@ typedef struct libvlc_module_description_t
struct libvlc_module_description_t *p_next;
} libvlc_module_description_t;
libvlc_module_description_t *libvlc_module_description_list_get( libvlc_instance_t *p_instance, const char *capability );
/**
* Release a list of module descriptions.
*
......
......@@ -166,7 +166,8 @@ void libvlc_free( void *ptr )
free( ptr );
}
libvlc_module_description_t *libvlc_module_description_list_get( libvlc_instance_t *p_instance, const char *capability )
static libvlc_module_description_t *module_description_list_get(
libvlc_instance_t *p_instance, const char *capability )
{
VLC_UNUSED( p_instance );
libvlc_module_description_t *p_list = NULL,
......@@ -231,12 +232,12 @@ void libvlc_module_description_list_release( libvlc_module_description_t *p_list
libvlc_module_description_t *libvlc_audio_filter_list_get( libvlc_instance_t *p_instance )
{
return libvlc_module_description_list_get( p_instance, "audio filter" );
return module_description_list_get( p_instance, "audio filter" );
}
libvlc_module_description_t *libvlc_video_filter_list_get( libvlc_instance_t *p_instance )
{
return libvlc_module_description_list_get( p_instance, "video filter2" );
return module_description_list_get( p_instance, "video filter2" );
}
int64_t libvlc_clock(void)
......
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