[vlc-commits] HTTP: improve documentation of :http-user-agent

Rémi Denis-Courmont git at videolan.org
Sun Jul 29 10:26:32 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 29 11:26:10 2012 +0300| [efa6230c231d19c369583fd5687a80d35e23e51f] | committer: Rémi Denis-Courmont

HTTP: improve documentation of :http-user-agent

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

 modules/access/http.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index ccd416f..1a7f554 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -97,7 +97,10 @@ static void Close( vlc_object_t * );
 #define REFERER_LONGTEXT N_("Customize the HTTP referer, simulating a previous document")
 
 #define UA_TEXT N_("User Agent")
-#define UA_LONGTEXT N_("You can use a custom User agent or use a known one")
+#define UA_LONGTEXT N_("The name and version of the program will be " \
+    "provided to the HTTP server. They must be separated by a forward " \
+    "slash, e.g. FooBar/1.2.3. This option can only be specified per input " \
+    "item, not globally.")
 
 vlc_module_begin ()
     set_description( N_("HTTP input") )



More information about the vlc-commits mailing list