[vlc-commits] lib: deprecate libvlc_toggle_teletext
Thomas Guillem
git at videolan.org
Tue Mar 14 17:30:27 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 14 17:23:48 2017 +0100| [22e31ba89cc9a5e4a5a816993ef07cd3ca07c73f] | committer: Thomas Guillem
lib: deprecate libvlc_toggle_teletext
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22e31ba89cc9a5e4a5a816993ef07cd3ca07c73f
---
include/vlc/deprecated.h | 9 +++++++++
include/vlc/libvlc_media_player.h | 7 -------
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h
index bf37287..27323a4 100644
--- a/include/vlc/deprecated.h
+++ b/include/vlc/deprecated.h
@@ -128,6 +128,15 @@ LIBVLC_DEPRECATED LIBVLC_API libvlc_track_description_t *
LIBVLC_DEPRECATED LIBVLC_API int
libvlc_video_set_subtitle_file( libvlc_media_player_t *p_mi, const char *psz_subtitle );
+/**
+ * Toggle teletext transparent status on video output.
+ * \deprecated use libvlc_video_set_teletext() instead.
+ *
+ * \param p_mi the media player
+ */
+LIBVLC_DEPRECATED LIBVLC_API void
+libvlc_toggle_teletext( libvlc_media_player_t *p_mi );
+
/** @}*/
/**
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 224ed39..1c4e739 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -1358,13 +1358,6 @@ LIBVLC_API int libvlc_video_get_teletext( libvlc_media_player_t *p_mi );
LIBVLC_API void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page );
/**
- * Toggle teletext transparent status on video output.
- *
- * \param p_mi the media player
- */
-LIBVLC_API void libvlc_toggle_teletext( libvlc_media_player_t *p_mi );
-
-/**
* Get number of available video tracks.
*
* \param p_mi media player
More information about the vlc-commits
mailing list