[vlc-commits] sout standard: obsolete "group"

Rémi Denis-Courmont git at videolan.org
Wed Mar 14 16:28:35 CET 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 14 16:38:46 2012 +0200| [b8723d774dd5ff791420dda5b770d5c1cfdbf672] | committer: Rémi Denis-Courmont

sout standard: obsolete "group"

(cherry picked from commit cdf9d7ce729d9dbb1f9deddd9dde331667c33d65)

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

 modules/stream_out/standard.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/modules/stream_out/standard.c b/modules/stream_out/standard.c
index a1cc1cd..8795afe 100644
--- a/modules/stream_out/standard.c
+++ b/modules/stream_out/standard.c
@@ -59,12 +59,6 @@
 #define NAME_LONGTEXT N_( \
     "This is the name of the session that will be announced in the SDP " \
     "(Session Descriptor)." )
-
-#define GROUP_TEXT N_("Session groupname")
-#define GROUP_LONGTEXT N_( \
-  "This allows you to specify a group for the session, that will be announced "\
-  "if you choose to use SAP." )
-
 #define DESC_TEXT N_("Session description")
 #define DESC_LONGTEXT N_( \
     "This allows you to give a short description with details about the stream, " \
@@ -107,7 +101,7 @@ vlc_module_begin ()
     add_string( SOUT_CFG_PREFIX "path", "", PATH_TEXT, PATH_LONGTEXT, false )
     add_bool(   SOUT_CFG_PREFIX "sap", false, SAP_TEXT, SAP_LONGTEXT, true )
     add_string( SOUT_CFG_PREFIX "name", "", NAME_TEXT, NAME_LONGTEXT, true )
-    add_string( SOUT_CFG_PREFIX "group", "", GROUP_TEXT, GROUP_LONGTEXT, true )
+    add_obsolete_string( SOUT_CFG_PREFIX "group" ) /* since 2.1.0 */
     add_string( SOUT_CFG_PREFIX "description", "", DESC_TEXT, DESC_LONGTEXT, true )
     add_string( SOUT_CFG_PREFIX "url", "", URL_TEXT, URL_LONGTEXT, true )
     add_string( SOUT_CFG_PREFIX "email", "", EMAIL_TEXT, EMAIL_LONGTEXT, true )
@@ -122,7 +116,7 @@ vlc_module_end ()
  *****************************************************************************/
 static const char *const ppsz_sout_options[] = {
     "access", "mux", "url", "dst",
-    "sap", "name", "group", "description", "url", "email", "phone",
+    "sap", "name", "description", "url", "email", "phone",
     "bind", "path", NULL
 };
 



More information about the vlc-commits mailing list