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
ee0a4d82
Commit
ee0a4d82
authored
Apr 02, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't dump/clean media library if it's not active
Bug spotted by Anthony Loiseau
parent
4ce6c3f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
src/playlist/engine.c
src/playlist/engine.c
+13
-11
No files found.
src/playlist/engine.c
View file @
ee0a4d82
...
...
@@ -484,17 +484,19 @@ void playlist_LastLoop( playlist_t *p_playlist )
p_playlist
->
pp_sds
[
0
]
->
p_sd
->
psz_module
);
}
playlist_MLDump
(
p_playlist
);
/* Because this recursive function decreases the
* p_playlist->p_ml_category refcount, it may get deleted.
* However we will delete the p_playlist->p_ml_category in the
* following FOREACH. */
vlc_gc_incref
(
p_playlist
->
p_ml_category
->
p_input
);
/* We don't need the media library anymore */
/* Decref all subitems, and the given items */
recursively_decref
(
p_playlist
->
p_ml_category
);
if
(
config_GetInt
(
p_playlist
,
"media-library"
)
)
{
playlist_MLDump
(
p_playlist
);
/* Because this recursive function decreases the
* p_playlist->p_ml_category refcount, it may get deleted.
* However we will delete the p_playlist->p_ml_category in the
* following FOREACH. */
vlc_gc_incref
(
p_playlist
->
p_ml_category
->
p_input
);
/* We don't need the media library anymore */
/* Decref all subitems, and the given items */
recursively_decref
(
p_playlist
->
p_ml_category
);
}
PL_LOCK
;
FOREACH_ARRAY
(
playlist_item_t
*
p_del
,
p_playlist
->
all_items
)
...
...
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