Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libraries
Phonon VLC
Commits
54de149a
Commit
54de149a
authored
Apr 20, 2011
by
Harald Sitter
🏳️🌈
Browse files
introduce globalaudiochannels and tear it down in backend dtor
parent
d4a8ef83
Changes
2
Hide whitespace changes
Inline
Side-by-side
vlc/backend.cpp
View file @
54de149a
...
...
@@ -122,6 +122,8 @@ Backend::~Backend()
{
if
(
LibVLC
::
self
)
delete
LibVLC
::
self
;
if
(
GlobalAudioChannels
::
self
)
delete
GlobalAudioChannels
::
self
;
if
(
GlobalSubtitles
::
self
)
delete
GlobalSubtitles
::
self
;
#ifdef PHONON_PULSESUPPORT
...
...
vlc/globaldescriptioncontainer.h
View file @
54de149a
...
...
@@ -264,6 +264,7 @@ protected:
template
<
typename
D
>
GlobalDescriptionContainer
<
D
>
*
GlobalDescriptionContainer
<
D
>::
self
=
0
;
typedef
GlobalDescriptionContainer
<
AudioChannelDescription
>
GlobalAudioChannels
;
typedef
GlobalDescriptionContainer
<
SubtitleDescription
>
GlobalSubtitles
;
}
// Namespace VLC
...
...
Write
Preview
Supports
Markdown
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