vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Wed Mar 14 16:35:41 2012 +0200| [036d7985ae3c1b11ba44a0e22dac16c1af307a51] | committer: Rémi Denis-Courmont
RTP: add an option to control the category Reported-by: Vincent Vinel <v.vi...@gmail.com> (cherry picked from commit 11f1a3ea832ab8c69013de2f0631afda3a5c53ff) > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=036d7985ae3c1b11ba44a0e22dac16c1af307a51 --- modules/stream_out/rtp.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c index 5900172..5a8c9d5 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -93,6 +93,10 @@ #define NAME_LONGTEXT N_( \ "This is the name of the session that will be announced in the SDP " \ "(Session Descriptor)." ) +#define CAT_TEXT N_("Session category") +#define CAT_LONGTEXT N_( \ + "This allows you to specify a category 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, " \ @@ -202,6 +206,7 @@ vlc_module_begin () add_string( SOUT_CFG_PREFIX "name", "", NAME_TEXT, NAME_LONGTEXT, true ) + add_string( SOUT_CFG_PREFIX "cat", "", CAT_TEXT, CAT_LONGTEXT, true ) add_string( SOUT_CFG_PREFIX "description", "", DESC_TEXT, DESC_LONGTEXT, true ) add_string( SOUT_CFG_PREFIX "url", "", URL_TEXT, @@ -261,8 +266,8 @@ vlc_module_end () * Exported prototypes *****************************************************************************/ static const char *const ppsz_sout_options[] = { - "dst", "name", "port", "port-audio", "port-video", "*sdp", "ttl", "mux", - "sap", "description", "url", "email", "phone", + "dst", "name", "cat", "port", "port-audio", "port-video", "*sdp", "ttl", + "mux", "sap", "description", "url", "email", "phone", "proto", "rtcp-mux", "caching", #ifdef HAVE_SRTP "key", "salt", _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits