[vlc-commits] Linux DVB: deprecate --dvb-device

Rémi Denis-Courmont git at videolan.org
Thu May 26 16:14:16 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 25 23:46:31 2011 +0300| [b92e509557b3cefe9e7936c00d384263393e3ce0] | committer: Rémi Denis-Courmont

Linux DVB: deprecate --dvb-device

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

 modules/access/dtv/access.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index 836af90..d0369cd 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -41,11 +41,6 @@
     "If there is more than one digital broadcasting adapter, " \
     "the adapter number must be selected. Numbering start from zero.")
 
-#define DEVICE_TEXT N_("DVB device")
-#define DEVICE_LONGTEXT N_( \
-    "If the selected adapter has more than one tuner, " \
-    "the tuner number must be selected. Numbering start from zero.")
-
 #define BUDGET_TEXT N_("Do not demultiplex")
 #define BUDGET_LONGTEXT N_( \
     "Only useful programs are normally demultiplexed from the transponder. " \
@@ -236,8 +231,7 @@ vlc_module_begin ()
 #ifdef __linux__
     add_integer ("dvb-adapter", 0, ADAPTER_TEXT, ADAPTER_LONGTEXT, false)
         change_integer_range (0, 255)
-    add_integer ("dvb-device", 0, DEVICE_TEXT, DEVICE_LONGTEXT, false)
-        change_integer_range (0, 255)
+    add_obsolete_integer ("dvb-device")
     add_bool ("dvb-budget-mode", false, BUDGET_TEXT, BUDGET_LONGTEXT, true)
 #endif
 #ifdef WIN32



More information about the vlc-commits mailing list