[vlc-devel] [vlc-commits] mux: ts: add pid range
Rémi Denis-Courmont
remi at remlab.net
Tue Feb 3 15:31:17 CET 2015
Le 2015-02-03 17:28, git at videolan.org a écrit :
> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon
> Feb 2 23:31:33 2015 +0100|
> [a0f542166855a36698a915fc72cf8c379ab104f0]
> | committer: Francois Cartegnie
>
> mux: ts: add pid range
>
>>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0f542166855a36698a915fc72cf8c379ab104f0
> ---
>
> modules/mux/mpeg/ts.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
> index b24a7e6..c5dca62 100644
> --- a/modules/mux/mpeg/ts.c
> +++ b/modules/mux/mpeg/ts.c
> @@ -193,9 +193,13 @@ vlc_module_begin ()
> add_shortcut( "ts" )
>
> add_integer(SOUT_CFG_PREFIX "pid-video", 0, VPID_TEXT,
> VPID_LONGTEXT, true)
> + change_integer_range( 32, 8190 )
> add_integer(SOUT_CFG_PREFIX "pid-audio", 0, APID_TEXT,
> APID_LONGTEXT, true)
> + change_integer_range( 32, 8190 )
> add_integer(SOUT_CFG_PREFIX "pid-spu", 0, SPUPID_TEXT,
> SPUPID_LONGTEXT, true)
> + change_integer_range( 32, 8190 )
> add_integer(SOUT_CFG_PREFIX "pid-pmt", 0, PMTPID_TEXT,
> PMTPID_LONGTEXT, true)
> + change_integer_range( 32, 8190 )
Err, the default value is supposed to be in the range. Don't expect the
GUI to work properly if not...
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list