Commit 1e2fab29 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

aout_FindAndRestart() needs the playlist

This will probably never work for LibVLC.
parent 1d6f8407
......@@ -50,6 +50,7 @@ static aout_instance_t *findAout (vlc_object_t *obj)
vlc_object_release (p_input);
return p_aout;
}
#define findAout(o) findAout(VLC_OBJECT(o))
/*
* Volume management
......@@ -449,7 +450,7 @@ static int aout_Restart( aout_instance_t * p_aout )
int aout_FindAndRestart( vlc_object_t * p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
aout_instance_t * p_aout = findAout( p_this );
aout_instance_t * p_aout = findAout( pl_Get(p_this) );
(void)psz_name; (void)oldval; (void)newval; (void)p_data;
if ( p_aout == NULL ) return VLC_SUCCESS;
......
Supports Markdown
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