Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
05a4a271
Commit
05a4a271
authored
Jan 14, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sanitize LIBVLC_DEPRECATED
Pointed-Out-By:
Olivier Aubert
<
olivier.aubert@liris.cnrs.fr
>
parent
59984e4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
include/vlc/deprecated.h
include/vlc/deprecated.h
+3
-3
include/vlc/libvlc.h
include/vlc/libvlc.h
+4
-4
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+4
-3
No files found.
include/vlc/deprecated.h
View file @
05a4a271
...
...
@@ -56,9 +56,9 @@ extern "C" {
* \param i_options the number of options to add to the item
* \param ppsz_options the options to add to the item
*/
LIBVLC_DEPRECATED
void
libvlc_playlist_play
(
libvlc_instance_t
*
p_instance
,
int
i_id
,
int
i_options
,
char
**
ppsz_options
);
LIBVLC_DEPRECATED
LIBVLC_API
void
libvlc_playlist_play
(
libvlc_instance_t
*
p_instance
,
int
i_id
,
int
i_options
,
char
**
ppsz_options
);
/** @}*/
...
...
include/vlc/libvlc.h
View file @
05a4a271
...
...
@@ -47,13 +47,13 @@
#endif
#ifdef __LIBVLC__
/* Avoid un
use
ful warnings from libvlc with our deprecated APIs */
# define LIBVLC_DEPRECATED
LIBVLC_API
/* Avoid un
help
ful warnings from libvlc with our deprecated APIs */
# define LIBVLC_DEPRECATED
#elif defined(__GNUC__) && \
(__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define LIBVLC_DEPRECATED
LIBVLC_API
__attribute__((deprecated))
# define LIBVLC_DEPRECATED __attribute__((deprecated))
#else
# define LIBVLC_DEPRECATED
LIBVLC_API
# define LIBVLC_DEPRECATED
#endif
# ifdef __cplusplus
...
...
include/vlc/libvlc_media_player.h
View file @
05a4a271
...
...
@@ -821,7 +821,8 @@ LIBVLC_API void libvlc_track_description_list_release( libvlc_track_description_
/**
* \deprecated Use libvlc_track_description_list_release instead
*/
LIBVLC_DEPRECATED
void
libvlc_track_description_release
(
libvlc_track_description_t
*
p_track_description
);
LIBVLC_DEPRECATED
LIBVLC_API
void
libvlc_track_description_release
(
libvlc_track_description_t
*
p_track_description
);
/** \defgroup libvlc_video LibVLC video controls
* @{
...
...
@@ -915,7 +916,7 @@ int libvlc_video_get_size( libvlc_media_player_t *p_mi, unsigned num,
* \param p_mi the media player
* \return the video pixel height or 0 if not applicable
*/
LIBVLC_DEPRECATED
LIBVLC_DEPRECATED
LIBVLC_API
int
libvlc_video_get_height
(
libvlc_media_player_t
*
p_mi
);
/**
...
...
@@ -925,7 +926,7 @@ int libvlc_video_get_height( libvlc_media_player_t *p_mi );
* \param p_mi the media player
* \return the video pixel width or 0 if not applicable
*/
LIBVLC_DEPRECATED
LIBVLC_DEPRECATED
LIBVLC_API
int
libvlc_video_get_width
(
libvlc_media_player_t
*
p_mi
);
/**
...
...
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