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
2d69f76b
Commit
2d69f76b
authored
Dec 16, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Make sure we remove object observers in media_discoverer.
parent
c5a60efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
src/control/media_discoverer.c
src/control/media_discoverer.c
+18
-0
No files found.
src/control/media_discoverer.c
View file @
2d69f76b
...
...
@@ -247,7 +247,25 @@ libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis )
{
int
i
;
vlc_event_detach
(
services_discovery_EventManager
(
p_mdis
->
p_sd
),
vlc_ServicesDiscoveryItemAdded
,
services_discovery_item_added
,
p_mdis
);
vlc_event_detach
(
services_discovery_EventManager
(
p_mdis
->
p_sd
),
vlc_ServicesDiscoveryItemRemoved
,
services_discovery_item_removed
,
p_mdis
);
vlc_event_detach
(
services_discovery_EventManager
(
p_mdis
->
p_sd
),
vlc_ServicesDiscoveryStarted
,
services_discovery_started
,
p_mdis
);
vlc_event_detach
(
services_discovery_EventManager
(
p_mdis
->
p_sd
),
vlc_ServicesDiscoveryEnded
,
services_discovery_ended
,
p_mdis
);
libvlc_media_list_release
(
p_mdis
->
p_mlist
);
vlc_sd_StopAndDestroy
(
p_mdis
->
p_sd
);
/* Free catname_to_submedialist and all the mlist */
...
...
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