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
82961e00
Commit
82961e00
authored
Jun 18, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly cleanup afilters and vfilters on Close(). (Patch by Ikka Ollakka)
parent
244c62e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+18
-0
No files found.
modules/stream_out/transcode.c
View file @
82961e00
...
@@ -798,6 +798,15 @@ static void Close( vlc_object_t * p_this )
...
@@ -798,6 +798,15 @@ static void Close( vlc_object_t * p_this )
sout_StreamDelete
(
p_sys
->
p_out
);
sout_StreamDelete
(
p_sys
->
p_out
);
while
(
p_sys
->
i_afilters
)
{
p_sys
->
i_afilters
--
;
if
(
p_sys
->
psz_afilters
[
p_sys
->
i_afilters
]
)
free
(
p_sys
->
psz_afilters
[
p_sys
->
i_afilters
]
);
if
(
p_sys
->
p_afilters_cfg
[
p_sys
->
i_afilters
]
)
free
(
p_sys
->
p_afilters_cfg
[
p_sys
->
i_afilters
]
);
}
while
(
p_sys
->
p_audio_cfg
!=
NULL
)
while
(
p_sys
->
p_audio_cfg
!=
NULL
)
{
{
config_chain_t
*
p_next
=
p_sys
->
p_audio_cfg
->
p_next
;
config_chain_t
*
p_next
=
p_sys
->
p_audio_cfg
->
p_next
;
...
@@ -812,6 +821,15 @@ static void Close( vlc_object_t * p_this )
...
@@ -812,6 +821,15 @@ static void Close( vlc_object_t * p_this )
}
}
if
(
p_sys
->
psz_aenc
)
free
(
p_sys
->
psz_aenc
);
if
(
p_sys
->
psz_aenc
)
free
(
p_sys
->
psz_aenc
);
while
(
p_sys
->
i_vfilters
)
{
p_sys
->
i_vfilters
--
;
if
(
p_sys
->
psz_vfilters
[
p_sys
->
i_vfilters
]
)
free
(
p_sys
->
psz_vfilters
[
p_sys
->
i_vfilters
]
);
if
(
p_sys
->
p_vfilters_cfg
[
p_sys
->
i_vfilters
]
)
free
(
p_sys
->
p_vfilters_cfg
[
p_sys
->
i_vfilters
]
);
}
while
(
p_sys
->
p_video_cfg
!=
NULL
)
while
(
p_sys
->
p_video_cfg
!=
NULL
)
{
{
config_chain_t
*
p_next
=
p_sys
->
p_video_cfg
->
p_next
;
config_chain_t
*
p_next
=
p_sys
->
p_video_cfg
->
p_next
;
...
...
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