Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
8b783e2c
Commit
8b783e2c
authored
Aug 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: playlist_NodeCreate needs the PL_LOCK.
parent
902cddda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
src/playlist/engine.c
src/playlist/engine.c
+2
-0
src/playlist/tree.c
src/playlist/tree.c
+1
-0
No files found.
src/playlist/engine.c
View file @
8b783e2c
...
...
@@ -98,10 +98,12 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
p_playlist
->
b_auto_preparse
=
var_CreateGetBool
(
p_playlist
,
"auto-preparse"
)
;
PL_LOCK
;
/* playlist_NodeCreate will check for it */
p_playlist
->
p_root_category
=
playlist_NodeCreate
(
p_playlist
,
NULL
,
NULL
,
0
,
NULL
);
p_playlist
->
p_root_onelevel
=
playlist_NodeCreate
(
p_playlist
,
NULL
,
NULL
,
0
,
p_playlist
->
p_root_category
->
p_input
);
PL_UNLOCK
;
if
(
!
p_playlist
->
p_root_category
||
!
p_playlist
->
p_root_onelevel
)
return
NULL
;
...
...
src/playlist/tree.c
View file @
8b783e2c
...
...
@@ -62,6 +62,7 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist,
input_item_t
*
p_new_input
=
NULL
;
playlist_item_t
*
p_item
;
PL_ASSERT_LOCKED
;
if
(
!
psz_name
)
psz_name
=
_
(
"Undefined"
);
if
(
!
p_input
)
...
...
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