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

aout: do not remove audio-device on new stream (refs #7601)

parent 779f3102
......@@ -72,10 +72,9 @@ int aout_DecNew( audio_output_t *p_aout,
/* TODO: reduce lock scope depending on decoder's real need */
aout_lock( p_aout );
/* Create the audio output stream */
var_Destroy( p_aout, "audio-device" );
var_Destroy( p_aout, "stereo-mode" );
/* Create the audio output stream */
owner->input_format = *p_format;
vlc_atomic_set (&owner->restart, 0);
owner->volume = aout_volume_New (p_aout, p_replay_gain);
......@@ -119,7 +118,6 @@ void aout_DecDelete (audio_output_t *p_aout)
aout_OutputDelete( p_aout );
aout_volume_Delete (owner->volume);
var_Destroy( p_aout, "audio-device" );
var_Destroy( p_aout, "stereo-mode" );
aout_unlock( p_aout );
......
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