[vlc-commits] Add obsolete option for all --*-caching values

Rémi Denis-Courmont git at videolan.org
Sun Oct 2 14:10:44 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct  2 15:08:49 2011 +0300| [becbeb5d8d490148d4b11eecf9480794e88a50e1] | committer: Rémi Denis-Courmont

Add obsolete option for all --*-caching values

Exceptions:
 - decklink and shm new plugins in VLC 1.2,
 - imem not usable through VLC directly,
 - rtmp never compiled in VLC 1.1 (and VLC 1.2).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=becbeb5d8d490148d4b11eecf9480794e88a50e1
---

 src/libvlc-module.c |   37 ++++++++++++++++++++++++++++++-------
 1 files changed, 30 insertions(+), 7 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 5b085b3..4f45add 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1931,25 +1931,48 @@ vlc_module_begin ()
                  CACHING_TEXT, CACHING_LONGTEXT, true )
         change_integer_range( 0, 60000 )
         change_safe()
+    add_obsolete_integer( "vdr-caching" ) /* 1.2.0 */
     add_integer( "live-caching", DEFAULT_PTS_DELAY / 1000,
                  CAPTURE_CACHING_TEXT, CAPTURE_CACHING_LONGTEXT, true )
         change_integer_range( 0, 60000 )
         change_safe()
-#if defined (__linux__)
-        add_deprecated_alias( "v4l2-caching" ) /* 1.2.0 */
-#elif defined (WIN32)
-        add_deprecated_alias( "dshow-caching" ) /* 1.2.0 */
-#endif
+    add_obsolete_integer( "alsa-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "dshow-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "dv-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "dvb-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "eyetv-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "gnomevfs-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "jack-input-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "linsys-hdsdi-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "linsys-sdi-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "oss-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "pvr-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "screen-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "v4l2-caching" ) /* 1.2.0 */
     add_integer( "disc-caching", DEFAULT_PTS_DELAY / 1000,
                  DISC_CACHING_TEXT, DISC_CACHING_LONGTEXT, true )
         change_integer_range( 0, 60000 )
         change_safe()
-        add_deprecated_alias( "dvdnav-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "bd-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "bluray-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "cdda-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "dvdnav-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "dvdread-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "vcd-caching" ) /* 1.2.0 */
     add_integer( "network-caching", CLOCK_FREQ / 1000,
                  NETWORK_CACHING_TEXT, NETWORK_CACHING_LONGTEXT, true )
         change_integer_range( 0, 60000 )
         change_safe()
-        add_deprecated_alias( "http-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "ftp-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "http-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "mms-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "realrtsp-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "rtp-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "rtsp-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "sftp-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "smb-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "tcp-caching" ) /* 1.2.0 */
+    add_obsolete_integer( "udp-caching" ) /* 1.2.0 */
 
     add_integer( "cr-average", 40, CR_AVERAGE_TEXT,
                  CR_AVERAGE_LONGTEXT, true )



More information about the vlc-commits mailing list