Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
518cbead
Commit
518cbead
authored
Jun 10, 2016
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: deprecate media discoverer events
parent
42f6419a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
9 deletions
+20
-9
include/vlc/deprecated.h
include/vlc/deprecated.h
+12
-0
include/vlc/libvlc_events.h
include/vlc/libvlc_events.h
+8
-0
include/vlc/libvlc_media_discoverer.h
include/vlc/libvlc_media_discoverer.h
+0
-9
No files found.
include/vlc/deprecated.h
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
);
/** @}*/
/**
...
...
include/vlc/libvlc_events.h
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
,
...
...
include/vlc/libvlc_media_discoverer.h
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.
*
...
...
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