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
518cbead
Commit
518cbead
authored
8 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
lib: deprecate media discoverer events
parent
42f6419a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/vlc/deprecated.h
+12
-0
12 additions, 0 deletions
include/vlc/deprecated.h
include/vlc/libvlc_events.h
+8
-0
8 additions, 0 deletions
include/vlc/libvlc_events.h
include/vlc/libvlc_media_discoverer.h
+0
-9
0 additions, 9 deletions
include/vlc/libvlc_media_discoverer.h
with
20 additions
and
9 deletions
include/vlc/deprecated.h
+
12
−
0
View file @
518cbead
...
...
@@ -277,6 +277,18 @@ libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
LIBVLC_DEPRECATED
LIBVLC_API
char
*
libvlc_media_discoverer_localized_name
(
libvlc_media_discoverer_t
*
p_mdis
);
/**
* Get event manager from media service discover object.
*
* \deprecated Useless, media_discoverer events are only triggered when calling
* libvlc_media_discoverer_start() and libvlc_media_discoverer_stop().
*
* \param p_mdis media service discover object
* \return event manager object.
*/
LIBVLC_DEPRECATED
LIBVLC_API
libvlc_event_manager_t
*
libvlc_media_discoverer_event_manager
(
libvlc_media_discoverer_t
*
p_mdis
);
/** @}*/
/**
...
...
This diff is collapsed.
Click to expand it.
include/vlc/libvlc_events.h
+
8
−
0
View file @
518cbead
...
...
@@ -100,7 +100,15 @@ enum libvlc_event_e {
libvlc_MediaListPlayerNextItemSet
,
libvlc_MediaListPlayerStopped
,
/**
* \deprecated Useless event, it will be triggered only when calling
* libvlc_media_discoverer_start()
*/
libvlc_MediaDiscovererStarted
=
0x500
,
/**
* \deprecated Useless event, it will be triggered only when calling
* libvlc_media_discoverer_stop()
*/
libvlc_MediaDiscovererEnded
,
libvlc_VlmMediaAdded
=
0x600
,
...
...
This diff is collapsed.
Click to expand it.
include/vlc/libvlc_media_discoverer.h
+
0
−
9
View file @
518cbead
...
...
@@ -138,15 +138,6 @@ libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis );
LIBVLC_API
libvlc_media_list_t
*
libvlc_media_discoverer_media_list
(
libvlc_media_discoverer_t
*
p_mdis
);
/**
* Get event manager from media service discover object.
*
* \param p_mdis media service discover object
* \return event manager object.
*/
LIBVLC_API
libvlc_event_manager_t
*
libvlc_media_discoverer_event_manager
(
libvlc_media_discoverer_t
*
p_mdis
);
/**
* Query if media service discover object is running.
*
...
...
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