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
58159c00
Commit
58159c00
authored
Jul 06, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: Make sure the preparser and the fetcher releases all their waiting elements.
Fix issue with leaked input item at exit.
parent
aaa0b5f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/playlist/engine.c
src/playlist/engine.c
+14
-0
No files found.
src/playlist/engine.c
View file @
58159c00
...
...
@@ -601,6 +601,13 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
msleep
(
(
i_activity
+
1
)
*
1000
);
vlc_object_lock
(
p_obj
);
}
for
(
int
i
=
0
;
i
<
p_obj
->
i_waiting
;
i
++
)
{
vlc_gc_decref
(
p_obj
->
pp_waiting
[
i
]
);
REMOVE_ELEM
(
p_obj
->
pp_waiting
,
p_obj
->
i_waiting
,
0
);
}
vlc_object_unlock
(
p_obj
);
}
...
...
@@ -682,6 +689,13 @@ void playlist_FetcherLoop( playlist_fetcher_t *p_obj )
msleep
(
(
i_activity
+
1
)
*
1000
);
vlc_object_lock
(
p_obj
);
}
for
(
int
i
=
0
;
i
<
p_obj
->
i_waiting
;
i
++
)
{
vlc_gc_decref
(
p_obj
->
pp_waiting
[
i
]
);
REMOVE_ELEM
(
p_obj
->
pp_waiting
,
p_obj
->
i_waiting
,
0
);
}
vlc_object_unlock
(
p_obj
);
}
...
...
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