Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
36401a1c
Commit
36401a1c
authored
Feb 23, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Destroy audio-device and audio-channels when no output plug-in is
available.
parent
b7741643
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/audio_output/dec.c
src/audio_output/dec.c
+9
-1
No files found.
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/01/02 20:48:28 gbazin
Exp $
* $Id: dec.c,v 1.
7 2003/02/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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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