Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
8375127e
Commit
8375127e
authored
Aug 23, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/media_list.c: Init and free the flat media list.
parent
9dba5e18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/control/media_list.c
src/control/media_list.c
+7
-0
No files found.
src/control/media_list.c
View file @
8375127e
...
...
@@ -170,6 +170,9 @@ libvlc_media_list_new( libvlc_instance_t * p_inst,
p_mlist
->
p_libvlc_instance
=
p_inst
;
p_mlist
->
p_event_manager
=
libvlc_event_manager_new
(
p_mlist
,
p_inst
,
p_e
);
/* Code for that one should be handled in flat_media_list.c */
p_mlist
->
p_flat_mlist
=
NULL
;
libvlc_event_manager_register_event_type
(
p_mlist
->
p_event_manager
,
libvlc_MediaListItemAdded
,
p_e
);
libvlc_event_manager_register_event_type
(
p_mlist
->
p_event_manager
,
...
...
@@ -213,6 +216,10 @@ void libvlc_media_list_release( libvlc_media_list_t * p_mlist )
/* Refcount null, time to free */
/* Handled in flat_media_list.c */
if
(
p_mlist
->
p_flat_mlist
)
libvlc_media_list_release
(
p_mlist
->
p_flat_mlist
);
libvlc_event_manager_release
(
p_mlist
->
p_event_manager
);
FOREACH_ARRAY
(
p_md
,
p_mlist
->
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