Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Darshan Jain
VLC
Commits
94a21935
Commit
94a21935
authored
8 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
lib: media_discoverer: stop after sending events
parent
b2fa4ce4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/media_discoverer.c
+2
-2
2 additions, 2 deletions
lib/media_discoverer.c
with
2 additions
and
2 deletions
lib/media_discoverer.c
+
2
−
2
View file @
94a21935
...
...
@@ -234,8 +234,6 @@ libvlc_media_discoverer_start( libvlc_media_discoverer_t * p_mdis )
LIBVLC_API
void
libvlc_media_discoverer_stop
(
libvlc_media_discoverer_t
*
p_mdis
)
{
vlc_sd_Stop
(
p_mdis
->
p_sd
);
p_mdis
->
running
=
false
;
libvlc_media_list_t
*
p_mlist
=
p_mdis
->
p_mlist
;
...
...
@@ -246,6 +244,8 @@ libvlc_media_discoverer_stop( libvlc_media_discoverer_t * p_mdis )
libvlc_event_t
event
;
event
.
type
=
libvlc_MediaDiscovererEnded
;
libvlc_event_send
(
p_mdis
->
p_event_manager
,
&
event
);
vlc_sd_Stop
(
p_mdis
->
p_sd
);
}
/**************************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment