mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +00:00
libaf: Make af_reinit "public", to allow using it in future patches
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32504 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
14e4bb7d70
commit
3452e2e907
@ -248,10 +248,7 @@ void af_remove(af_stream_t* s, af_instance_t* af)
|
|||||||
free(af);
|
free(af);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reinitializes all filters downstream from the filter given in the
|
int af_reinit(af_stream_t* s, af_instance_t* af)
|
||||||
argument the return value is AF_OK if success and AF_ERROR if
|
|
||||||
failure */
|
|
||||||
static int af_reinit(af_stream_t* s, af_instance_t* af)
|
|
||||||
{
|
{
|
||||||
do{
|
do{
|
||||||
af_data_t in; // Format of the input to current filter
|
af_data_t in; // Format of the input to current filter
|
||||||
|
@ -164,6 +164,13 @@ int af_init(af_stream_t* s);
|
|||||||
*/
|
*/
|
||||||
void af_uninit(af_stream_t* s);
|
void af_uninit(af_stream_t* s);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Reinit the filter list from the given filter on downwards
|
||||||
|
* \param Filter instance to begin the reinit from
|
||||||
|
* \return AF_OK on success or AF_ERROR on failure
|
||||||
|
*/
|
||||||
|
int af_reinit(af_stream_t* s, af_instance_t* af);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief This function adds the filter "name" to the stream s.
|
* \brief This function adds the filter "name" to the stream s.
|
||||||
* \param name name of filter to add
|
* \param name name of filter to add
|
||||||
|
Loading…
Reference in New Issue
Block a user