Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
36401a1c
Commit
36401a1c
authored
Feb 23, 2003
by
Christophe Massiot
Browse files
* Destroy audio-device and audio-channels when no output plug-in is
available.
parent
b7741643
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audio_output/dec.c
View file @
36401a1c
...
...
@@ -2,7 +2,7 @@
* dec.c : audio output API towards decoders
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: dec.c,v 1.
6
2003/0
1/02 20:48:28 gbazin
Exp $
* $Id: dec.c,v 1.
7
2003/0
2/23 01:25:26 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -200,6 +200,14 @@ int aout_DecDelete( aout_instance_t * p_aout, aout_input_t * p_input )
{
aout_OutputDelete
(
p_aout
);
aout_MixerDelete
(
p_aout
);
if
(
var_Type
(
p_aout
,
"audio-device"
)
!=
0
)
{
var_Destroy
(
p_aout
,
"audio-device"
);
}
if
(
var_Type
(
p_aout
,
"audio-channels"
)
!=
0
)
{
var_Destroy
(
p_aout
,
"audio-channels"
);
}
}
vlc_mutex_unlock
(
&
p_aout
->
mixer_lock
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment