]> git.sesse.net Git - vlc/commitdiff
Remove unused exception from video.c
authorHugo Beauzee-Luyssen <beauze.h@gmail.com>
Sun, 31 Jan 2010 19:05:24 +0000 (20:05 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 31 Jan 2010 19:14:31 +0000 (21:14 +0200)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc/libvlc_media_player.h
src/control/video.c

index 6a1dd77f4dda904dd394a0f0805a3bfe15c11c72..fd97ff30b2b23ed8ab678b5208339a84ca8fc087 100644 (file)
@@ -448,7 +448,7 @@ VLC_PUBLIC_API float libvlc_media_player_get_fps( libvlc_media_player_t * );
  *
  * \param p_md the media player
  */
  *
  * \param p_md the media player
  */
-VLC_PUBLIC_API int libvlc_media_player_has_vout( libvlc_media_player_t *, libvlc_exception_t * );
+VLC_PUBLIC_API int libvlc_media_player_has_vout( libvlc_media_player_t * );
 
 /**
  * Is this media player seekable?
 
 /**
  * Is this media player seekable?
@@ -646,7 +646,7 @@ VLC_PUBLIC_API int libvlc_video_get_spu_count( libvlc_media_player_t *, libvlc_e
  * \return list containing description of available video subtitles
  */
 VLC_PUBLIC_API libvlc_track_description_t *
  * \return list containing description of available video subtitles
  */
 VLC_PUBLIC_API libvlc_track_description_t *
-        libvlc_video_get_spu_description( libvlc_media_player_t *, libvlc_exception_t * );
+        libvlc_video_get_spu_description( libvlc_media_player_t * );
 
 /**
  * Set new video subtitle.
 
 /**
  * Set new video subtitle.
@@ -665,7 +665,7 @@ VLC_PUBLIC_API void libvlc_video_set_spu( libvlc_media_player_t *, int , libvlc_
  * \param p_e an initialized exception pointer
  * \return the success status (boolean)
  */
  * \param p_e an initialized exception pointer
  * \return the success status (boolean)
  */
-VLC_PUBLIC_API int libvlc_video_set_subtitle_file( libvlc_media_player_t *, const char *, libvlc_exception_t * );
+VLC_PUBLIC_API int libvlc_video_set_subtitle_file( libvlc_media_player_t *, const char * );
 
 /**
  * Get the description of available titles.
 
 /**
  * Get the description of available titles.
@@ -675,7 +675,7 @@ VLC_PUBLIC_API int libvlc_video_set_subtitle_file( libvlc_media_player_t *, cons
  * \return list containing description of available titles
  */
 VLC_PUBLIC_API libvlc_track_description_t *
  * \return list containing description of available titles
  */
 VLC_PUBLIC_API libvlc_track_description_t *
-        libvlc_video_get_title_description( libvlc_media_player_t *, libvlc_exception_t * );
+        libvlc_video_get_title_description( libvlc_media_player_t * );
 
 /**
  * Get the description of available chapters for specific title.
 
 /**
  * Get the description of available chapters for specific title.
@@ -686,7 +686,7 @@ VLC_PUBLIC_API libvlc_track_description_t *
  * \return list containing description of available chapter for title i_title
  */
 VLC_PUBLIC_API libvlc_track_description_t *
  * \return list containing description of available chapter for title i_title
  */
 VLC_PUBLIC_API libvlc_track_description_t *
-        libvlc_video_get_chapter_description( libvlc_media_player_t *, int, libvlc_exception_t * );
+        libvlc_video_get_chapter_description( libvlc_media_player_t *, int );
 
 /**
  * Get current crop filter geometry.
 
 /**
  * Get current crop filter geometry.
@@ -712,7 +712,7 @@ VLC_PUBLIC_API void libvlc_video_set_crop_geometry( libvlc_media_player_t *, con
  * \param p_mediaplayer the media player
  * \param p_e an initialized exception pointer
  */
  * \param p_mediaplayer the media player
  * \param p_e an initialized exception pointer
  */
-VLC_PUBLIC_API void libvlc_toggle_teletext( libvlc_media_player_t *, libvlc_exception_t * );
+VLC_PUBLIC_API void libvlc_toggle_teletext( libvlc_media_player_t * );
 
 /**
  * Get number of available video tracks.
 
 /**
  * Get number of available video tracks.
@@ -720,7 +720,7 @@ VLC_PUBLIC_API void libvlc_toggle_teletext( libvlc_media_player_t *, libvlc_exce
  * \param p_mi media player
  * \return the number of available video tracks (int)
  */
  * \param p_mi media player
  * \return the number of available video tracks (int)
  */
-VLC_PUBLIC_API int libvlc_video_get_track_count( libvlc_media_player_t *, libvlc_exception_t * );
+VLC_PUBLIC_API int libvlc_video_get_track_count( libvlc_media_player_t * );
 
 /**
  * Get the description of available video tracks.
 
 /**
  * Get the description of available video tracks.
@@ -730,7 +730,7 @@ VLC_PUBLIC_API int libvlc_video_get_track_count( libvlc_media_player_t *, libvlc
  * \return list with description of available video tracks, or NULL on error
  */
 VLC_PUBLIC_API libvlc_track_description_t *
  * \return list with description of available video tracks, or NULL on error
  */
 VLC_PUBLIC_API libvlc_track_description_t *
-        libvlc_video_get_track_description( libvlc_media_player_t *, libvlc_exception_t * );
+        libvlc_video_get_track_description( libvlc_media_player_t * );
 
 /**
  * Get current video track.
 
 /**
  * Get current video track.
index 7e070445165a688e38aeee5a258fa9e2a5e35d44..12d365f97c7b02c585663f2b990b614c3215f031 100644 (file)
@@ -187,8 +187,7 @@ int libvlc_video_get_width( libvlc_media_player_t *p_mi,
     return width;
 }
 
     return width;
 }
 
-int libvlc_media_player_has_vout( libvlc_media_player_t *p_mi,
-                                     libvlc_exception_t *p_e )
+int libvlc_media_player_has_vout( libvlc_media_player_t *p_mi )
 {
     input_thread_t *p_input_thread = libvlc_get_input_thread(p_mi);
     bool has_vout = false;
 {
     input_thread_t *p_input_thread = libvlc_get_input_thread(p_mi);
     bool has_vout = false;
@@ -325,8 +324,7 @@ int libvlc_video_get_spu_count( libvlc_media_player_t *p_mi,
 }
 
 libvlc_track_description_t *
 }
 
 libvlc_track_description_t *
-        libvlc_video_get_spu_description( libvlc_media_player_t *p_mi,
-                                          libvlc_exception_t *p_e )
+        libvlc_video_get_spu_description( libvlc_media_player_t *p_mi )
 {
     return libvlc_get_track_description( p_mi, "spu-es" );
 }
 {
     return libvlc_get_track_description( p_mi, "spu-es" );
 }
@@ -370,8 +368,7 @@ end:
 }
 
 int libvlc_video_set_subtitle_file( libvlc_media_player_t *p_mi,
 }
 
 int libvlc_video_set_subtitle_file( libvlc_media_player_t *p_mi,
-                                    const char *psz_subtitle,
-                                    libvlc_exception_t *p_e )
+                                    const char *psz_subtitle )
 {
     input_thread_t *p_input_thread = libvlc_get_input_thread ( p_mi );
     bool b_ret = false;
 {
     input_thread_t *p_input_thread = libvlc_get_input_thread ( p_mi );
     bool b_ret = false;
@@ -386,16 +383,14 @@ int libvlc_video_set_subtitle_file( libvlc_media_player_t *p_mi,
 }
 
 libvlc_track_description_t *
 }
 
 libvlc_track_description_t *
-        libvlc_video_get_title_description( libvlc_media_player_t *p_mi,
-                                            libvlc_exception_t * p_e )
+        libvlc_video_get_title_description( libvlc_media_player_t *p_mi )
 {
     return libvlc_get_track_description( p_mi, "title" );
 }
 
 libvlc_track_description_t *
         libvlc_video_get_chapter_description( libvlc_media_player_t *p_mi,
 {
     return libvlc_get_track_description( p_mi, "title" );
 }
 
 libvlc_track_description_t *
         libvlc_video_get_chapter_description( libvlc_media_player_t *p_mi,
-                                              int i_title,
-                                              libvlc_exception_t *p_e )
+                                              int i_title )
 {
     char psz_title[12];
     sprintf( psz_title,  "title %2i", i_title );
 {
     char psz_title[12];
     sprintf( psz_title,  "title %2i", i_title );
@@ -433,8 +428,7 @@ void libvlc_video_set_crop_geometry( libvlc_media_player_t *p_mi,
     }
 }
 
     }
 }
 
-void libvlc_toggle_teletext( libvlc_media_player_t *p_mi,
-                             libvlc_exception_t *p_e )
+void libvlc_toggle_teletext( libvlc_media_player_t *p_mi )
 {
     input_thread_t *p_input_thread;
 
 {
     input_thread_t *p_input_thread;
 
@@ -465,8 +459,7 @@ void libvlc_toggle_teletext( libvlc_media_player_t *p_mi,
     vlc_object_release( p_input_thread );
 }
 
     vlc_object_release( p_input_thread );
 }
 
-int libvlc_video_get_track_count( libvlc_media_player_t *p_mi,
-                                  libvlc_exception_t *p_e )
+int libvlc_video_get_track_count( libvlc_media_player_t *p_mi )
 {
     input_thread_t *p_input_thread = libvlc_get_input_thread( p_mi );
     int i_track_count;
 {
     input_thread_t *p_input_thread = libvlc_get_input_thread( p_mi );
     int i_track_count;
@@ -481,8 +474,7 @@ int libvlc_video_get_track_count( libvlc_media_player_t *p_mi,
 }
 
 libvlc_track_description_t *
 }
 
 libvlc_track_description_t *
-        libvlc_video_get_track_description( libvlc_media_player_t *p_mi,
-                                            libvlc_exception_t *p_e )
+        libvlc_video_get_track_description( libvlc_media_player_t *p_mi )
 {
     return libvlc_get_track_description( p_mi, "video-es" );
 }
 {
     return libvlc_get_track_description( p_mi, "video-es" );
 }
@@ -619,7 +611,7 @@ static vlc_object_t *get_object( libvlc_media_player_t * p_mi,
 
 typedef const struct {
     const char name[20]; /* probably will become a const char * sometime */
 
 typedef const struct {
     const char name[20]; /* probably will become a const char * sometime */
-    unsigned type; 
+    unsigned type;
 } opt_t;
 
 
 } opt_t;