Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
841460fe
Commit
841460fe
authored
Jan 19, 2015
by
Thomas Guillem
Committed by
Rémi Denis-Courmont
Jan 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: media: lock media_list
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
9b2f91fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/media.c
lib/media.c
+4
-0
No files found.
lib/media.c
View file @
841460fe
...
...
@@ -141,7 +141,11 @@ static void input_item_subitem_added( const vlc_event_t *p_event,
/* Add this to our media list */
p_subitems
=
media_get_subitems
(
p_md
);
if
(
p_subitems
!=
NULL
)
{
libvlc_media_list_lock
(
p_subitems
);
libvlc_media_list_internal_add_media
(
p_subitems
,
p_md_child
);
libvlc_media_list_unlock
(
p_subitems
);
}
/* Construct the event */
event
.
type
=
libvlc_MediaSubItemAdded
;
...
...
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