[vlc-devel] [PATCH] access_out/livehttp.c: additional segments naming pattern

Ilkka Ollakka ileoo at videolan.org
Sat Mar 10 18:15:37 CET 2012


On Fri, Mar 09, 2012 at 09:15:47PM +0100, Łukasz Korbel wrote:
> From 2e39440e230258a905bb8ccf3af9101081b3bdea Mon Sep 17 00:00:00 2001
> From: Lukasz Korbel <korbel85 at gmail.com>
> Date: Fri, 9 Mar 2012 20:31:13 +0100
> Subject: [PATCH 2/2] access_output/livehttp.c: additional segments naming
>  pattern

> In some cases having segments names not plain indexes may be useful.

Just being curious, can you give some use case for such case when it is
useful?

> @@ -101,6 +108,8 @@ vlc_module_begin ()
>                  INDEX_TEXT, INDEX_LONGTEXT, true )
>      add_string( SOUT_CFG_PREFIX "index-url", NULL,
>                  INDEXURL_TEXT, INDEXURL_LONGTEXT, true )
> +    add_string( SOUT_CFG_PREFIX "name-pattern", "index",
> +                PATTERN_TEXT, PATTERN_LONGTEXT, true )

I would add change_string_list() after this, so choices would be checked
better and preferences UI should be able to show choice-menu.

-- 
Ilkka Ollakka
Q:  How many heterosexual males does it take to screw in a light bulb
    in San Francisco?
A:  Both of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120310/afede3c4/attachment.sig>


More information about the vlc-devel mailing list